python pandas pandas code example
Example 1: pandas in python
If you use Anaconda then it is preinstalled
otherwise: pip install pandas
import pandas as pd
pd.__version__
Example 2: pandas
df = pd.DataFrame(np.random.randn(1000, 4), index=ts.index,
.....: columns=['A', 'B', 'C', 'D'])
.....:
In [137]: df = df.cumsum()
In [138]: plt.figure()
Out[138]: