Skip to content

drop

Drop(features, *more_features)

Bases: Transform

Drop features from the data.

Initializes the Drop transform.

Source code in src/flowcean/polars/transforms/drop.py
12
13
14
15
16
17
18
19
20
def __init__(
    self,
    features: str | Iterable[str],
    *more_features: str,
) -> None:
    """Initializes the Drop transform."""
    super().__init__()
    self.features = features
    self.more_features = more_features