Hi,

Does anyone else find this unexpected?

In [93]: import numpy as N
In [94]: a = N.arange(10).reshape(5,2)
In [95]: N.mean(a)
Out[95]: 4.5
In [96]: N.median(a)
Out[96]: array([4, 5])

i.e. shouldn't median have the same axis, dtype, default axis=None
behavior as mean?

Best,

Matthew
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to