Skip to content

mecfs_bio.build_system.task.pipes.expr_pipe

Classes:

ExprPipe

Bases: DataProcessingPipe

Methods:

Attributes:

expr instance-attribute

expr: Expr

process

process(x: LazyFrame) -> narwhals.LazyFrame
Source code in mecfs_bio/build_system/task/pipes/expr_pipe.py
def process(self, x: narwhals.LazyFrame) -> narwhals.LazyFrame:
    return x.with_columns(self.expr)