polars-janitor - a native port of PyJanitor over to Polars #1610
vovavili
started this conversation in
Show and tell
Replies: 1 comment 1 reply
|
Looks great and quite performant @vovavili great job |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I’ve been working on a Polars-native port of Janitor called polars-janitor:
https://github.com/VovaVili/polars-janitor
It is inspired both by R’s janitor and this package, but it is not meant to be a full port. I’m trying to keep it narrower: cleanup helpers for the annoying bits around messy CSVs, spreadsheets, schema checks, duplicate records, empty columns, and column names.
Current public functions are: clean_names, remove_empty, remove_constant, get_dupes, find_header / row_to_names, compare_df_cols
The package is Rust-backed, with Python kept as the import surface. I’ve also tried to avoid dataframe namespace registration and shallow wrappers around Polars APIs that are already clear.
I’d appreciate design/API feedback before I treat it as ready for a wider release. The main things I’m unsure about are whether the API feels natural for Polars users, and whether the eager/lazy behavior is reasonable. Let me know your thoughts.
All reactions