Show Menu
Cheatography

Data Analysis Cheat Sheet Cheat Sheet (DRAFT) by

for the record of 2020 summer

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

Pandas

import pandas as pd

# extracts the head
pd.head()

# calculating some statistical data
pd.describe()

# finds column/row using regex, returns df
pd.filter(regex="", axis=0) #row
pd.filter(regex="", axis=0) #column

# series to list
pd.tolist()

Pandas

import pandas as pd

# extracts the head
pd.head()

# calculating some statistical data
pd.describe()

# finds column/row using regex, returns df
pd.filter(regex="", axis=0) #row
pd.filter(regex="", axis=0) #column

# series to list
pd.tolist()