[Numpy-discussion] the mean, var, std of non-arrays
Yaroslav Halchenko
lists at onerussian.com
Fri Jul 19 13:04:12 EDT 2013
On Thu, 18 Jul 2013, Charles R Harris wrote:
> yeah... That is how I thought "it is working", but I guess it was left
> without asanyarraying for additional flexibility/performance so any
> array-like object could be used, not just ndarray derived classes.
> Speaking of which, there is a PR for [3]nan{mean, var, std) that you
> might want to check before it gets committed. There might be some
> modifications that you would want to add.
well -- the only modifications to non-nan mean was a docstring's see
also. there though input is explicitly converted/copied to ndarray so
no custom .mean() functions would be called, thus issue a bit orthogonal
as far as I see
--
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
More information about the NumPy-Discussion
mailing list