Skip to content

metric

LazyMixin(**kwargs)

If input is a polars.LazyFrame, collect() it before passing on.

Source code in src/flowcean/polars/metric.py
16
17
def __init__(self, **kwargs: Any) -> None:
    super().__init__(**kwargs)

SelectMixin(*, features=None, **kwargs)

Select only specified columns from DataFrame-like objects.

Source code in src/flowcean/polars/metric.py
30
31
32
33
34
35
36
37
def __init__(
    self,
    *,
    features: Sequence[str] | None = None,
    **kwargs: Any,
) -> None:
    super().__init__(**kwargs)
    self.features = features