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

Break same name with R #6

Closed
kootenpv opened this issue Feb 10, 2016 · 1 comment
Closed

Break same name with R #6

kootenpv opened this issue Feb 10, 2016 · 1 comment

Comments

@kootenpv
Copy link

I always thought having the name "data" as a function globally is one of the weirdest things in R.
Perhaps consider changing it into load_data (comparable to load_xxxx in sklearn).
Then people can use data (however vague that term is anyway) in their scripts freely.

@iamaziz
Copy link
Owner

iamaziz commented Feb 10, 2016

At the beginning, I was not sure what to call it, then just decided to keep it as simple as possible. And with that name, displaying the documentation (as well as displaying the existing datasets) would still make sense and does not need to have a separate function name for each.
But (thanks to Thomas Wouters) you can always call it whatever you like :-) just

from pydataset import data as load_some_awesome_dataset

@iamaziz iamaziz closed this as completed Oct 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants