In [101]: df.resample('1H').agg({'openbid': 'first',
'highbid': 'max',
'lowbid': 'min',
'closebid': 'last'})
Out[101]:
lowbid highbid closebid openbid
ctime
2015-09-30 23:00:00 1.11687 1.11712 1.11708 1.117
series.resample('3T', label='right', closed='right').sum()
df2.resample('D', level=0).sum()
df.resample('M', on='week_starting').mean()
series.resample('3T').sum()
series.resample('3T', label='right').sum()
series.resample('30S').asfreq()[0:5] # Select first 5 rows
series.resample('30S').pad()[0:5]
series.resample('30S').bfill()[0:5]