Open samukweku opened 3 months ago
the current pivot_longer
implementation is not good enough. I'll submit a PR with improvements
I assumed (wrongly) that polars' join maintains order (it only does so for left join). need to rethink the computation logic for complete
. I'll submit a PR with improvements
eagerly awaits for 0.28.0 release!
in relation to #1343 - this is a list of functions missing in the polars library that could be implemented :
clean_names
pivot_longer
pivot_wider
xlsx_tables
xlsx_cells
read_commandline
conditional_join
complete
expand_grid
~pl.join
withhow='cross'
covers thisconvert_excel_date
convert_matlab_date
convert_unix_date
~pl.from_epoch
covers thisbin_numeric
~pl.Expr.cut
covers thisconcatenate_columns
~ can be replicated withpl.concat_str
deconcatenate_columns
~pl.Expr.str.split
covers thisfactorize_columns
~pl.rank(dense)
orpl.Expr.to_physical
covers thisget_dupes
~Expr.is_duplicated()
covers thisjitter
limit_column_characters
min_max_scale
move
~ can be replicated with polars' selectorsrow_to_names
shuffle
~pl.Expr.shuffle
covers thissort_naturally
take_first
~group_by.first()
covers thisalso
Care should be taken to not create the function, if an existing solution already exists for any of these functions (probably named differently, or a combination of existing polars functions that covers all use cases of any of the listed functions above)