Wednesday, February 7, 2018

Python Useful Commands

Open Python/Anaconda Prompt and use the following commands

Find out which version of python is running
- python (enter)

Open Jupyter Console website
- Jupyter Notebook

Why Numpy ?

What is Jupyter Notebook?


This tutorial explains what is jupyter or ipython notebook. Jupyter or ipython notebook is a web application that allows you to run live code, embed visualizations and explanatory text all in one place.

Installing and Configuring Anaconda

Steps to Install Anaconda :

  1. Go to Download Anaconda
  2. Based on your Operating System Click on Windows or Mac or Linux Symbol
  3. Download Python 3.5 Version for 64 bit or 32 bit. Right Click on “My Computer” and go to Properties



Steps to Configure Anaconda:

  1. Search for Anaconda Prompt and open it
  2. Type the below commands to update conda and Jupyter

#Update conda
conda update conda

#Update Jupyter
conda update jupyter

#install packages
conda install numpy
conda install pandas
conda install statsmodels

conda install matplotlib
conda install seaborn


#To Open Jupyter notebook from Anaconda Prompt, type
jupyter notebook

#To Open Spyder from Anaconda Prompt, type
start spyder
 Jupyter notebook can run R Codes also
 conda install -c r r-essentials