description kind=none aggregate to periods ('period'or timestamps ('timestamp')defaults to kind of index the time series has convention=none when resampling periodsthe convention ('startor 'end'for converting the low frequency period to high frequency defaults to 'enddownsampling aggregating data to regularlower frequency is pretty normal time series task the data you're aggregating doesn' need to be fixed frequentlythe desired frequency defines bin edges that are used to slice the time series into pieces to aggregate for exampleto convert to monthly'mor 'bm'the data need to be chopped up into one month intervals each interval is said to be half-opena data point can only belong to one intervaland the union of the intervals must make up the whole time frame there are couple things to think about when using resample to downsample datawhich side of each interval is closed how to label each aggregated bineither with the start of the interval or the end to illustratelet' look at some one-minute datain [ ]rng pd date_range(''periods= freq=' 'in [ ]ts series(np arange( )index=rngin [ ]ts out[ ] : : : : : : : : : : : : : : : : : : : : : : : : freqt suppose you wanted to aggregate this data into five-minute chunks or bars by taking the sum of each groupin [ ]ts resample(' min'how='sum'out[ ] : : : : : : : : freq time series www it-ebooks info