-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Make get_sample_data autoload npy/npz files. #15641
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
Conversation
edfcd85
to
19b3427
Compare
19b3427
to
bb0d0e7
Compare
bb0d0e7
to
50e95bf
Compare
rebased |
50e95bf
to
4388154
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am normally very wary of kwargs that change the return type, but that train has already left the station with this function so I am 👍 on adding the ability to get it as a numpy array. However I am -0 on changing the default to True in the future.
However given that this is primarily a helper function for our documentation I am perfectly happy to have this merged over my concern.
Well the whole point is to change the default to True in the future; if you don't want to do that I'm not even sure the PR is worth it. |
This makes examples shorter and more to the point by simplifying the data-load part. A small (standard) backcompat-dance is needed.
rebased |
4388154
to
d7d11a7
Compare
This makes examples shorter and more to the point by simplifying the
data-load part. A small (standard) backcompat-dance is needed.
Edit: will also depend on #15645.
Edit: now good to go.
PR Summary
PR Checklist