Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More support for forcats #110

Open
etiennebacher opened this issue Apr 16, 2024 · 3 comments
Open

More support for forcats #110

etiennebacher opened this issue Apr 16, 2024 · 3 comments
Labels
feature upstream This requires changes in polars or in a tidyverse package.

Comments

@etiennebacher
Copy link
Owner

What functionality are you missing?
https://forcats.tidyverse.org/reference/index.html

Is this functionality present in the tidyverse or in polars (or both)?
tidyverse

@ginolhac
Copy link

  • fct_relevel()
  • fct_inorder()
  • fct_reorder()
  • fct_rev()
  • fct_collapse()
  • fct_lump()
  • fct_other()

are the ones I frequently use. Of note, rev() from base is not available. I would recommend dropping fct_rev() and support rev() useful in more conditions.

@etiennebacher
Copy link
Owner Author

Thanks, rev() is now supported on the github version

@etiennebacher
Copy link
Owner Author

I think this mostly lacks support in rust-polars for now (e.g pola-rs/polars#7981) and I don't know if there are plans to develop this upstream

@etiennebacher etiennebacher added the upstream This requires changes in polars or in a tidyverse package. label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature upstream This requires changes in polars or in a tidyverse package.
Projects
None yet
Development

No branches or pull requests

2 participants