-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: preserve ndarray subclasses in median #3851
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
the same should probably be done for percentile |
Earlier I somehow had the idea that there was a ndarray.median method. Now
|
Agree with @njsmith. |
Also agree with @njsmith. |
@astrofrog Do we need this patch for backwards compatibility or does the |
@charris - as long as |
IIUC the only part that's needed for astropy is the replacement of On Wed, Oct 2, 2013 at 3:21 PM, Thomas Robitaille
|
updated to only add asanyarray |
@astrofrog Can you check this out? |
@charris @juliantaylor - I can confirm this fixes the errors we were seeing in Astropy - thanks! |
Great, ready for backport then. |
BUG: preserve ndarray subclasses in median
closes gh-3846