Show Menu
Cheatography

Pandas Cheat Sheet (DRAFT) by

This cheat sheet introduces you the utility of pandas, a popular tool for data science.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Import

import pandas as pd

Create

pd.Ser­ies([1, 2, 3, 4], dtypes­=np.int32)
`pd.Se­rie­s([1, 2, 3, 4], index=­['a', 'b', 'c', 'd'])
'd = {'A': 1,