Horizontal axis rolling
Although a general axis keyword as proposed in #295 (closed) might not be a good idea, - saqc
has a functional gap when trying to apply function on rows instead of columns (for example counting the meassurements present at a certain timestamp or calculating the scattering of meassurements at a certain timestamp.)
So i added that "row wise" functionality to qc.rolling
.
The reason to add it to rolling
, is, that it seems probable, that one might not only want to check for a statistics or an aggregation result at an exact timestamp, but within a certain extension. That can be achieved with a 2 dimensional rolling window.
For example: Get the number of values present within every hour:
qc.rolling(['data1','data2','data3'], func='count', window=1h, target='count')
Merge request reports
Activity
changed milestone to %2.6.0
added feature label
requested review from @luenensc
assigned to @luenensc
- Resolved by Peter Lünenschloß
- Resolved by Peter Lünenschloß
- Resolved by Peter Lünenschloß
- Resolved by Peter Lünenschloß
- Resolved by Peter Lünenschloß
- Resolved by David Schäfer
For example: Get the number of values present within every hour:
I still not entirely sure, what is counted in the example...All values within one hour for the fields
data1
,data2
,data3
. We are still rolling down the time axis, but include several variables, right?