Skip to main content

encode_rows_with_layout

Function encode_rows_with_layout 

Source
pub fn encode_rows_with_layout(
    by: &[Column],
    layout: &RowEncodingLayout,
    propagate_nulls: bool,
) -> Result<Series, PolarsError>
Expand description

Encodes by into rows of layout, which must be made for the dtypes of by. With propagate_nulls a row is null if any of its values is null.