You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
masked-array median of array should be scalar #7835
Related to #5969, #7592, #7635, #7654, I still find inconsistent behavior in numpy 1.11.1. np.ma.median (with axis=None) returns a masked array instead of a scalar for all cases except when the input is a masked array that has a least one masked value. It's only for that case where a scalar is returned.
Activity
[-]masked-array median of 1d array should be scalar[/-][+]masked-array median of array should be scalar[/+]ahaldane commentedon Aug 8, 2016
Fixed by #7911