BUG: preserve ndarray subclasses in median#3851
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