Skip to content

About

The coursewok from Udemy

Resources

Contributing

Stars

58 stars

Watchers

4 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Analysis with Pandas and Python

Notebooks Python Pandas License PRs Welcome

A practical, hands-on introduction to data analysis with Pandas — every notebook runs, every notebook explains itself, and every dataset is included.

Run instantly on Colab · View notebooks · Install

Like this repo? ⭐ Star it so others can find it, and fork it to work through the exercises yourself. Contributions are welcome — see Contributing.

Why this repository

  • Learn by doing. Every topic maps to a runnable notebook — execute it locally, on Colab, or on Kaggle.
  • Modern Pandas. Code targets current Pandas (2.x/3.x). Deprecated APIs (squeeze, sheetname, pandas.Panel) are deliberately avoided, and every notebook is verified by CI on every push.
  • Explained, not just code. Each notebook contains narrative explanations, not bare code cells — the why matters as much as the how.
  • Reproducible. Data files ship with the notebooks, requirements.txt pins the dependencies, and a CI test runner executes every notebook.
  • Real projects. Includes an end-to-end analysis project on a real public dataset, not just toy examples.

Run instantly

Zero setup. Click a notebook and it opens in your browser:

Open in Colab Open in Binder
01 Series Colab Binder
02 DataFrames 1 Colab Binder
03 DataFrames 2 Colab Binder
04 DataFrames 3 Colab Binder
05 Merge & Join Colab Binder
06 GroupBy Colab Binder
07 MultiIndex Colab Binder
08 Date & Time Colab Binder
09 Text Data Colab Binder
10 Visualization Colab Binder
11 Input & Output Colab Binder
12 Read CSV Colab Binder
13 Options Colab Binder
14 Project Colab Binder

Table of contents

  1. Installation
  2. Get started
  3. Notebooks
  4. Contributing
  5. Contributors
  6. License

Installation

You need Python 3.10+.

We recommend a virtual environment to keep dependencies isolated:

python -m venv .venv
source .venv/bin/activate        # Windows: .venv\Scripts\activate
pip install -r requirements.txt

This installs Pandas, NumPy, Matplotlib, Seaborn, Plotly, and openpyxl.

Get started

Launch Jupyter from the repository root:

jupyter lab

Then open the notebooks in the order listed below. The 00_introduction.ipynb notebook explains how to navigate the repository and how the notebooks are organized.

Notebooks

Core path (follow in order):

# Notebook Topic
1 01_series.ipynb The Series type — creation, attributes, methods
2 02_dataframes_1.ipynb DataFrames: structure, selection, dtypes
3 03_dataframes_2.ipynb DataFrames: sorting, ranking, filtering
4 04_dataframes_3.ipynb loc/iloc indexing, missing data
5 05_merge_join_concat.ipynb Combining datasets
6 06_groupby.ipynb Split-apply-combine, aggregation
7 07_multindex.ipynb MultiIndex, pivot, unstack
8 08_date_time.ipynb Working with dates and times
9 09_text_data.ipynb String methods and cleaning
10 10_visualization.ipynb Plotting with Matplotlib
11 11_input_output.ipynb Reading/writing CSV and Excel
12 12_read_csv.ipynb Reading CSVs in detail
13 13_options_settings.ipynb Display and global options
14 14_project_chicago_salaries.ipynb End-to-end analysis project (real public data)

Contributing

Improvements, bug fixes, and extra exercises are welcome. Please read CONTRIBUTING.md first — it covers setup, keeping git diffs clean (recommended nbstripout), and the PR checklist.

Short version:

  1. Fork the repository.
  2. Make your change and keep code on modern Pandas APIs.
  3. Clear notebook outputs before committing.
  4. Verify with python scripts/test_notebooks.py.
  5. Open a pull request using the PR template.

Please also read NOTICE.md — it explains which material is covered by the repository license.

Contributors

Thanks to everyone who has helped improve this repository.

License

Original code in this repository is released under the MIT License. Examples and datasets derived from third-party sources are not covered by that license — see NOTICE.md for details.

About

The coursewok from Udemy

Resources

Contributing

Stars

58 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages