Appendix D. Introduction to Pandas
We don’t expect any Pandas knowledge from the readers of this book. However, we use it extensively throughout the book. When we do, we try to explain the code, but it’s not always possible to cover everything in detail.
In this appendix, we give a more in-depth introduction to Pandas, covering all the features we use in the chapters.
D.1 Pandas
Pandas is a Python library for working with tabular data. It’s a popular and convenient tool for data manipulation. It’s especially useful when preparing data for training machine learning models.
If you use Anaconda, it already has Pandas preinstalled. If not, install it with pip
:
pip install pandas
To experiment with Pandas, let’s create a notebook called appendix-d-pandas ...
Get Machine Learning Bookcamp now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.