Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Jupyter Notebook
25,009
73 commits
updated Oct 17, 2025
Materials and IPython notebooks for "Python for Data Analysis, 3rd Edition" by Wes McKinney, published by O'Reilly Media. Book content including updates and errata fixes can be found for free on my website.
uv is a fast Python package installer and resolver. To get started:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv run jupyter notebook
That's it! uv will automatically create a virtual environment and install all required packages from pyproject.toml.
conda create -n pydata-book python=3.11
conda activate pydata-book
pip install -r requirements.txt
jupyter notebook
Note: This project uses pandas 2.0.3 to ensure compatibility with the notebooks.
If you are reading the 2nd Edition (published in 2017), please find the
reorganized book materials on the 2nd-edition branch.
If you are reading the 1st Edition (published in 2012), please find the
reorganized book materials on the 1st-edition branch.
The code in this repository, including all code samples in the notebooks listed above, is released under the MIT license. Read more at the Open Source Initiative.
(top 24 of 33)
4,252 followers · starred Feb 2021
207 followers · starred Nov 2018
1,504 followers · starred Aug 2020
34 followers · starred Apr 2020
Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Jupyter Notebook
25,009
73 commits
updated Oct 17, 2025
Materials and IPython notebooks for "Python for Data Analysis, 3rd Edition" by Wes McKinney, published by O'Reilly Media. Book content including updates and errata fixes can be found for free on my website.
uv is a fast Python package installer and resolver. To get started:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv run jupyter notebook
That's it! uv will automatically create a virtual environment and install all required packages from pyproject.toml.
conda create -n pydata-book python=3.11
conda activate pydata-book
pip install -r requirements.txt
jupyter notebook
Note: This project uses pandas 2.0.3 to ensure compatibility with the notebooks.
If you are reading the 2nd Edition (published in 2017), please find the
reorganized book materials on the 2nd-edition branch.
If you are reading the 1st Edition (published in 2012), please find the
reorganized book materials on the 1st-edition branch.
The code in this repository, including all code samples in the notebooks listed above, is released under the MIT license. Read more at the Open Source Initiative.
(top 24 of 33)
4,252 followers · starred Feb 2021
207 followers · starred Nov 2018
1,504 followers · starred Aug 2020
34 followers · starred Apr 2020