Show Menu
Cheatography

Series Cheat Sheet (DRAFT) by

Series cheat sheet for

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

DEFINITION

Pandas Series is a one-di­men­sional labeled array capable of holding data of any type (integer, string, float, python objects, etc.). The axis labels are collec­tively called index. Pandas Series equivalent to a column in an excel sheet. Pandas series consists of a key-value pair. It is similar to a python dictio­nary, except it provides more freedom to manipulate and edit the data
 

CREATION

Pandas Series data structure can be initia­lized by using pd.Ser­ies() constr­uctor. It can be built using a list, a numpy array, or dict as an input for constr­ucting the Series.