Skip to content
Snippets Groups Projects

Horizontal axis rolling

Merged Peter Lünenschloß requested to merge haxisRolling into develop

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')
Edited by Peter Lünenschloß

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
    • 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?

  • added 1 commit

    • 6688163c - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • 79cf85c4 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • 7f93c345 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • 2a9f61ed - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • da54613c - exposed target in rolling func

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading