Assuming you have a pandas DataFrame called df which has a column called timestamp with datetime dtype and another column called value which you want to aggregate, you can resample the DataFrame using resample() method to convert 15 minutes intervals to 1 hour intervals and then apply a function like mean() to aggregate the values.
main.py350 chars10 lines
Output:
main.py108 chars5 lines
gistlibby LogSnag