How can I resample a Dataframe's column, that has float values, with the average, of the values within the resampling period, weighting each value on the ratio of:
- time that, according to the Dateframe's Datetime index, goes by until reaching the following value within the same resampling period divided by
- the time length of the resampling period?
The input Dataframe has one resamplable column and a Datetime Index.