With timeseries data we often require to resample on different intervel to feed in to our analytics model.
Pandas resample have a built-in list of widely used methods. However, if the built-in methods are not sufficient, it is always possible to write a custom function to resample.
This post shows …