[Numpy-discussion] nan functions convert matrix to array

Pierre GM pgmdevlist at gmail.com
Fri Dec 1 17:42:22 EST 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