Jupyter Notebook is an interactive tool used for writing and running Python code, especially in Data Analytics and Data Science.
It allows you to:
- Write code
- See output instantly
- Add explanations (Markdown)
- Create visualizations
- Work step-by-step
Method 1: Install Using Anaconda (Recommended for Beginners)
Anaconda is the easiest way to install Jupyter Notebook.
Step 1: Download Anaconda
Go to the official Anaconda website and download the Python version.
Step 2: Install Anaconda
Run the installer and follow the setup instructions.
Step 3: Launch Jupyter Notebook
After installation:
- Open Anaconda Navigator
- Click Launch under Jupyter Notebook
Or open Command Prompt and type:
jupyter notebook
Jupyter will open in your browser.
Method 2: Install Using pip
If Python is already installed:
Step 1: Install Jupyter
pip install notebook
Step 2: Run Jupyter Notebook
jupyter notebook
It will open in your default web browser.
Creating a New Notebook
- Click âNewâ
- Select âPython 3â
- A new notebook will open
You can now start writing Python code.
Basic Notebook Features
Code Cells
Used to write and run Python code
Markdown Cells
Used to write notes, headings, and explanations
Run a Cell
Press Shift + Enter
Save Notebook
Click Save or press Ctrl + S
Installing Libraries in Jupyter
Inside a notebook cell:
!pip install pandas
The exclamation mark ! runs terminal commands inside Jupyter.
Why Jupyter is Important for Analytics
- Interactive coding
- Easy visualization
- Step-by-step data analysis
- Perfect for learning and projects
- Widely used in industry
Common Issues & Solutions
If jupyter command is not recognized:
- Check if Python is added to PATH
- Restart your system after installation
If browser does not open:
- Copy the link from terminal and paste it into browser manually
Key Takeaway
Jupyter Notebook is a powerful interactive environment for Python.
It is widely used in Data Analytics, Data Science, and Machine Learning for writing code, analyzing data, and presenting insights clearly.