EdwinTh / padr

Padding of missing records in time series
https://edwinth.github.io/padr/
Other
132 stars 12 forks source link

a shift_to_middle function #45

Closed EdwinTh closed 7 years ago

EdwinTh commented 7 years ago

Thickening and padding are now done on either the start or the end of the interval. Besides categorising the datetime variable to an interval, we could also shift to a time point at the middle of the interval. This would be useful for point/line/bar plots with a continuous axis.