[Numpy-discussion] suggestions for Matrix-related changes
david.huard at gmail.com
Tue Jul 11 21:42:23 CDT 2006
2006/7/11, JJ <josh8912 at yahoo.com>:
> 1) is it possible to get the function unique() to work with matrices,
> with a unique_rows() function to work with matrices of more than one
The problem is that applying unique to different rows will return vectors
with different lengths. So you could not return an array, much less a
matrix. You'd have to return a list of arrays or 1D matrices.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion