UFZ GitLab and Mattermost will be OFFLINE on March 27 from 8:00pm to 10pm due to a system migration!
The internal GitLab Runners are temporarily unavailable. Your own project or group runners as well as the HIFIS Runners are unaffected.
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')