[Numpy-discussion] unique rows of array

Maria Liukis liukis@usc....
Mon Aug 17 23:59:42 CDT 2009


On Aug 17, 2009, at 9:51 PM, Charles R Harris wrote:

>
>
> 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?

Yes.

>
> <snip>
>
> Chuck
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090817/77c66268/attachment-0001.html 


More information about the NumPy-Discussion mailing list