Closed wukan1986 closed 3 months ago
Just want to make sure this is the desired behavior: Skip row if any value in row is null. Yes it is doable and actually not too hard in the current Rust code base. I will add it as an additional flag.
Regarding the regex, I currently do not see an easy way. I can provide you with helper functions, but that won't solve the issue from its root.
Closing this for now. Skip null is implemented in: https://github.com/abstractqqq/polars_ds_extension/commit/837560d0a475c4fba5790a6f0b525e9d6da40421
In actual applications, the frequency of null occurrences is too high, making it basically impossible to use normally. Nan values in numpy are easy to handle, but there is no good way to handle nulls in polars. It would be great if nulls could be handled well in rust.
I have given an example of implementation using numpy, FYI.