2. Setup: Python, Jupyter, and Packages
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.
- Confirm the prompt shows
(.venv). - Upgrade pip:
python -m pip install --upgrade pip - Install the lab kit:
python -m pip install pandas numpy matplotlib seaborn jupyter openpyxl - Smoke test:
python -c "import pandas, numpy, matplotlib, seaborn; print('ok')" - You should see
ok.
| Package | Role in this course |
|---|---|
| pandas | Tables (DataFrames), cleaning, groupby |
| numpy | Fast numeric arrays under pandas |
| matplotlib | Core plotting |
| seaborn | Statistical / categorical plots |
| jupyter | Notebook interface |
| openpyxl | Read/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.
सुरुवातीच्या Data Science chapters साठी scikit-learn install करू नका. आधी pandas, numpy, matplotlib आणि seaborn. ML packages नंतर त्यांच्या chapters मध्ये येतात.
शुरुआती Data Science chapters के लिए scikit-learn install मत करो। पहले pandas, numpy, matplotlib और seaborn। ML पैकेज बाद के chapters में आएँगे।
Next: launch Jupyter from this same venv → 2.4 Launch Jupyter.