[Numpy-discussion] nan functions convert matrix to array

Pierre GM pgmdevlist at gmail.com
Fri Dec 1 16:42:22 CST 2006

On Friday 01 December 2006 16:46, Keith Goodman wrote:
> The first line of the nan functions (such as nansum, nanmin, nanmax) is

> Is there some way to make it matrix in, matrix out?

Quick workaround:
Overwrite these functions with your own, where 'array' or 'asarray' in the 
first line is replaced by 'asanyarray'.

More information about the Numpy-discussion mailing list