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

Add R as a How to use from the Polars (R) Library as an option #7226

Open
ran-codes opened this issue Oct 14, 2024 · 0 comments
Open

Add R as a How to use from the Polars (R) Library as an option #7226

ran-codes opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ran-codes
Copy link

ran-codes commented Oct 14, 2024

Feature request

The boiler plate code to access a dataset via the hugging face file system is very useful. Please addd

Add Polars (R) option

The equivailent code works, because the Polars-R wrapper has hugging faces funcitonaliy as well.

library(polars)

df <- pl$read_parquet("hf://datasets/SALURBAL/core__admin_cube_public/core__admin_cube_public.parquet")

Polars (python) option

image

Libraries Currently

image

Motivation

There are many data/analysis/research/statistics teams (particularly in academia and pharma) that use R as the default language. R has great integration with most of the newer data techs (arrow, parquet, polars) and having this included could really help in bringing this community into the hugging faces ecosystem.

This is a small/low-hanging-fruit front end change but would make a big impact expanding the community

Your contribution

I am not sure which repositroy this should be in, but I have experience in R, Python and JS and happy to submit a PR in the appropriate repository.

@ran-codes ran-codes added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant