-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ValueError: '{name}' is not one of the example datasets. #33
Comments
Those are both old versions of seaborn. I cannot replicate on the current version. |
Issue happens in Anaconda actually. I think the latest version is 0.12.2 in conda. Are there any plan to update version in conda? |
That's not something I have any control over. |
@connorfryar I suggest you to use @mwaskom You were right, the problem occurs in old versions. Do you have any suggestions except update? Because our students are new, they use Anaconda and I am not sure they can handle the update with pip thing. |
It looks like GitHub changed something about the html it returns from the repository homepage and the list of files can no longer be parsed from it. That breaks
So
Depending on your teaching setup (1) is probably the easiest because it's a one-time thing and then all commands should work as expected. (Although if you're using Colab, I don't know how persistent the cache will be; it may not work there). It could look as simple as doing (in a Jupyter notebook): cache_dir = sns.get_data_home()
!git clone https://github.com/mwaskom/seaborn-data.git $cache_dir But if students don't have git installed, that won't work; you'll want to cook up a simple script that enumerates the datasets you want and does |
Actually, nevermind, I had an idea and I believe I've fixed this going forward. Hope that solves your problems and sorry for the trouble. |
It looks solved! Thanks for your attention! |
Hi!
I tried the
load_dataset
func but, I got "ValueError: 'tips' is not one of the example datasets." error. First, I thought be issue with my computer, so I tried colab, but the error is still there.You can check python version and seaborn version here
![image](https://private-user-images.githubusercontent.com/16855588/295657268-102c718e-427f-43eb-8a07-070c775cbd5e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMzExNDcsIm5iZiI6MTcyNDMzMDg0NywicGF0aCI6Ii8xNjg1NTU4OC8yOTU2NTcyNjgtMTAyYzcxOGUtNDI3Zi00M2ViLThhMDctMDcwYzc3NWNiZDVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDEyNDcyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM5NjM3MjljODZmOTM2MzgzMmJhYzViNDYxMjE1NjE1MGE0ZjZkODEyZmY0OTgwNDVkYTBmN2Y3YjUzMjE1NzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2G-YCB7S2vQIXtaVOTSvW5VM-CyR_R2mrQ7DZfdanuY)
The text was updated successfully, but these errors were encountered: