Ravindra BagaleCourses & study guides मराठी Track your progress

2. Setup: Python, Jupyter, and Packages

Data Science

2.4 Launch Jupyter for this course

Why. Notebooks let you run one small step, see the result, then continue — perfect for data work.

What. You already learned Jupyter install basics in py01. Here you launch Jupyter from the course venv and prove pandas imports.

How.

Steps in the terminal

  1. Stay inside datascience-labs with (.venv) active.
  2. Run jupyter notebook (or jupyter lab).
  3. Browser opens. Click New → Python 3.
  4. In the first cell type:
    import pandas as pd
    print(pd.__version__)
  5. Press Shift + Enter. You should see a version number.

Folder layout we recommend

datascience-labs/
  .venv/
  notebooks/
  data/       # put CSV exports here
  figures/    # save charts as PNG

Ravindra Bagale's Tip

Many students install packages into system Python and open Jupyter from another environment — then they see ModuleNotFoundError. Always launch Jupyter from the same venv where you ran pip install.

Quick recap

  1. Install/confirm Python in py01 (not duplicated here).
  2. venv + course packages in this chapter.
  3. No sklearn yet.
  4. Jupyter from the same venv; Shift+Enter runs a cell.