nodejs-polars
    Preparing search index...

    Interface MapBatchesOptions

    interface MapBatchesOptions {
        isElementwise?: boolean;
        returnsScalar?: boolean;
        returnType?: DataType<any>;
    }
    Index
    isElementwise?: boolean

    Whether the UDF preserves one output row per input row within a batch.

    false
    
    returnsScalar?: boolean

    Whether the UDF returns a single scalar value per batch, which is then broadcast across the batch. Mutually exclusive with isElementwise; when set, isElementwise is ignored.

    false
    
    returnType?: DataType<any>

    Expected dtype of the returned series.