Skip to content

mecfs_bio.build_system.task.pipes.to_polars_pipe

Classes:

ToPolarsPipe

Bases: DataProcessingPipe

Methods:

process

process(x: LazyFrame) -> narwhals.LazyFrame
Source code in mecfs_bio/build_system/task/pipes/to_polars_pipe.py
def process(self, x: narwhals.LazyFrame) -> narwhals.LazyFrame:
    return narwhals.from_native(x.collect().to_polars().lazy())