[Numpy-discussion] Issue with np.median and array subclasses in 1.8.0rc (worked with 1.7.0)
Thomas Robitaille
thomas.robitaille at gmail.com
Tue Oct 1 03:01:40 EDT 2013
Hi,
The behavior for ``np.median`` and array sub-classes has changed in
1.8.0rc, which breaks unit-handling code (such as the ``quantities``
package, or ``astropy.units``):
https://github.com/numpy/numpy/issues/3846
This previously worked from Numpy 1.5 (at least) to Numpy 1.7. Is
there a new (and better) way to override the ``np.median`` behavior?
Cheers,
Tom
More information about the NumPy-Discussion
mailing list