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

2. Setup: Python, Jupyter, and Packages

Data Science

2.3 Install Packages (No sklearn)

Why. These libraries are the daily tools for tables and charts in this course.

What. With the venv active, install only the packages below. Skip sklearn for now.

How.

  1. Confirm the prompt shows (.venv).
  2. Upgrade pip: python -m pip install --upgrade pip
  3. Install the lab kit:
    python -m pip install pandas numpy matplotlib seaborn jupyter openpyxl
  4. Smoke test:
    python -c "import pandas, numpy, matplotlib, seaborn; print('ok')"
  5. You should see ok.
PackageRole in this course
pandasTables (DataFrames), cleaning, groupby
numpyFast numeric arrays under pandas
matplotlibCore plotting
seabornStatistical / categorical plots
jupyterNotebook interface
openpyxlRead/write .xlsx if needed

Do not install scikit-learn for these early chapters. We will not import it here.

Ravindra Bagale's Tip

Do not install scikit-learn for the early Data Science chapters. We use pandas, numpy, matplotlib and seaborn first. ML packages come later in their own chapters.

Next: launch Jupyter from this same venv → 2.4 Launch Jupyter.