-
Notifications
You must be signed in to change notification settings - Fork 8
Improve resampling options #19
Copy link
Copy link
Open
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Metadata
Metadata
Assignees
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Type
Fields
Give feedbackPriority
None yet
What's needed?
Users could get more control about resampling:
ts1 <= ts < ts2orts1 < ts <= ts2The 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
closedoptions could be helpful if data is compared with external data that could use another interval definition (e.g. DSO, clients).labelis required if theclosedoption 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