Pandas (software) code example
Example: 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]:
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]: