Improve resampling options #19
Labels
part:❓
We need to figure out which part is affected
priority:❓
We need to figure out how soon this should be addressed
type:enhancement
New feature or enhancement visitble to users
Milestone
What's needed?
Users could get more control about resampling:
ts1 <= ts < ts2
orts1 < ts <= ts2
The label of the first version of the API defaults to fixed-interval using the start of the resampling bin as timestamp.
Proposed solution
Support corresponding parameters in
ResamplingOptions
.Use cases
Different aggregations make sense if metrics like energy (sum) or peak values (min/max) are of interest.
Different
closed
options could be helpful if data is compared with external data that could use another interval definition (e.g. DSO, clients).label
is required if theclosed
option is changed to avoid weird timestamps.Resolutions below 1s could be interesting if faster reaction is needed or very short-term forecasts. Since we plan to make resampling mandatory when aggregating components, the shortest resolution would be 1s for component aggregations.
Alternatives and workarounds
No response
Additional context
Related to:
Example for resampling options in pandas: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.resample.html
The text was updated successfully, but these errors were encountered: