tidypolars icon indicating copy to clipboard operation
tidypolars copied to clipboard

Implement `janitor::clean_names()`

Open mjkarlsen opened this issue 3 years ago • 4 comments

  • [ ] clean_names()
  • [ ] adorn_totals()
  • [ ] get_dupes()

Might be worth it and might not be. What do you think?

mjkarlsen avatar Nov 01 '21 10:11 mjkarlsen

I really like the idea of adding .clean_names()

markfairbanks avatar Nov 01 '21 14:11 markfairbanks

nice! it is a good idea! :) @mjkarlsen

ztsweet avatar Nov 15 '21 01:11 ztsweet

https://github.com/pyjanitor-devs/pyjanitor

verajosemanuel avatar Oct 13 '22 14:10 verajosemanuel

@verajosemanuel - thanks for sending this over. I've seen this, and unfortunately this only works on pandas data frames and isn't compatible with polars. There's probably some common ideas I can pull from internals though.

One thing that makes R a little easier is that things can be implemented on top of the base R data.frame class. So janitor::clean_names() works on data.frames, tibbles, and data.tables. Whereas in python every data frame library has to have their own separate implementation.

markfairbanks avatar Oct 13 '22 14:10 markfairbanks