pub fn skip_initial_space(
lf: LazyFrame,
nulls: impl Fn(&str) -> Vec<String>,
) -> PolarsResult<LazyFrame>Expand description
skipInitialSpace: the spaces after a delimiter are not part of a text value, so
" 152.6" is "152.6" and a cell of spaces is empty, which reads as null like an
empty cell. nulls are the null values this column takes, matched after the
padding is gone, as they would be against the unpadded file.