Python Pandas study notes

import pandas as pd

1.pd.Series(value,index)

output an array-like data structure

For example: Series(range(4),index=['a','b','c','d'])

2.pd.resample(rule,how=None,axis=0,closed=None,label=None)

Resample a regular time series data

axis=0 means to resample rows

closed ={"Left","Right"} represents which interval edge is closed

label={"Left","Right"} represents which side of the interval to take