Skip to content

Handle gaps in the MovingWindow data #213

@matthias-wende-frequenz

Description

Provide an interface for handling gaps

  • the user should be able to tell what to do with gaps, e.g. replace with constant number, bfill ffill, interpolate
  • should be able to get a list of all gaps

Accessing behavior of uninitialized or missing data

We need to check if data is potentially uninitialized in the __getitem__
method and define what to do in that case.
The check can be performed by using the ringbuffers gaps. Thus we'd need to
check if the requested data subwindow intersects with any interval stored as gap.

possible actions when uninitialized data is accessed:

  • raise an exception
  • return the biggest subset

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Dropped

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions