Python Forum

Full Version: create 10 yearly blocks from time series using pandas
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I have time series of ts = 1, 2,3,4, ........,320

I want to arrange in in dataframe as follows:
row1 1,2,3............., 120
row2, 12,13, 14,........ 122
row3, 24,25,26, ........ 134

etc,

Any help wll be appreciated

simply done using numpy stridded app......
In what logic, you want to distribute the rows? it will help to think over it