Show Menu
Cheatography

pandashkust Cheat Sheet (DRAFT) by

cheat sheet that made

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

Aggreg­ation

df.agg(['max','mean','std'])
df.agg([np.mean,np.max,np.std])
df.agg([np.max,np.log])#be careful dimension 
df.agg({'salary':'mean','age':'max'})