Re: [Numpy-discussion] nan functions convert matrix to array
Dec. 3, 2006
5:07 p.m.
On Friday 01 December 2006 17:56, Keith Goodman wrote: ...
Would it break anything to change the first line of the nan functions from a = array(a) to a = asanyarray(a) ?
Seeing what the nan functions do, I don't think that would be a problem. An expception would be raised if the operation could not be performed anyway (like a N.sum on a record array). But I'm no judge, so I'll let the powers in place decide of that. In the same order of idea, I'm bumping a post of mine: would it be possible to get 'asnayarray' in 'apply_along_axis', 'apply_over_axes', 'vectorize' ?
7196
Age (days ago)
7196
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pierre GM