Closed leighmcculloch closed 3 years ago
Implemented in db889ce5e5c2d59c4a3b7d5d72bec4cf9ea152b5
See --resample-action
in OPTIONS.md#line-specific-options
I will keep this issue open until the feature is available on the published PyPI package.
Now available in v0.1.15
The resampling option is very convenient, but when resampling data that is counts, it would be ideal to have the option to sum the counts together if the goal is to see total counts over time.
I think the relevant code is here where mean is used on the resampled data. It'd be great to be able to choose which function is used.
https://github.com/mcastorina/graph-cli/blob/master/graph_cli/graph_cli/graph.py#L156