[Numpy-discussion] unique rows of array

Charles R Harris charlesr.harris@gmail....
Mon Aug 17 23:51:44 CDT 2009


On Mon, Aug 17, 2009 at 10:30 PM, Maria Liukis <liukis@usc.edu> wrote:

> Hello everybody,
> While re-implementing some Matlab code in Python, I've run into a problem
> of finding a NumPy function analogous to the Matlab's "unique(array,
> 'rows')" to get unique rows of an array. Searching the web, I've found a
> similar discussion from couple of years ago with an example:
>
>
Just to be clear, do you mean finding all rows that only occur once in the
array?

<snip>

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090817/21bbdef6/attachment.html 


More information about the NumPy-Discussion mailing list