Pandas 1.x Cookbook - 2nd Edition
This is the code repository for Pandas 1.x Cookbook - 2nd Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
About the Book
A new edition of the bestselling Pandas cookbook updated to pandas 1.x with new chapters on creating and testing, and exploratory data analysis. Recipes are written with modern pandas constructs. This book also covers EDA, tidying data, pivoting data, time-series calculations, visualizations, and more.
Instructions and Navigation
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
def tweak_kag(df):
na_mask = df.Q9.isna()
hide_mask = df.Q9.str.startswith('I do not').fillna(False)
df = df[~na_mask & ~hide_mask]
Related Products
-
Mastering Machine Learning Algorithms - Second Edition### Download a free PDF
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.