Re: [Numpy-discussion] unique rows of array

2009-08-18 Thread josef . pktd
On Tue, Aug 18, 2009 at 2:01 AM, Maria Liukis wrote: > Josef, > Many thanks for the example! It should become an official NumPy recipe :) > Thanks again, > Masha > > liu...@usc.edu Actually, there is also an implementation of unique rows in scipy.stats._support. It uses loops

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread Maria Liukis
Josef, Many thanks for the example! It should become an official NumPy recipe :) Thanks again, Masha liu...@usc.edu On Aug 17, 2009, at 10:03 PM, josef.p...@gmail.com wrote: On Tue, Aug 18, 2009 at 12:59 AM, Maria Liukis wrote: On Aug 17, 2009, at 9:51 PM, Charles

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread Maria Liukis
On Aug 17, 2009, at 10:03 PM, josef.p...@gmail.com wrote: > On Tue, Aug 18, 2009 at 12:59 AM, Maria Liukis wrote: >> >> On Aug 17, 2009, at 9:51 PM, Charles R Harris wrote: >> >> >> On Mon, Aug 17, 2009 at 10:30 PM, Maria Liukis >> wrote: >>> >>> Hello everybody, >>> While re-implementing some

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread josef . pktd
On Tue, Aug 18, 2009 at 1:03 AM, wrote: > On Tue, Aug 18, 2009 at 12:59 AM, Maria Liukis wrote: >> >> On Aug 17, 2009, at 9:51 PM, Charles R Harris wrote: >> >> >> On Mon, Aug 17, 2009 at 10:30 PM, Maria Liukis wrote: >>> >>> Hello everybody, >>> While re-implementing some Matlab code in Python,

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread josef . pktd
On Tue, Aug 18, 2009 at 12:59 AM, Maria Liukis wrote: > > On Aug 17, 2009, at 9:51 PM, Charles R Harris wrote: > > > On Mon, Aug 17, 2009 at 10:30 PM, Maria Liukis wrote: >> >> Hello everybody, >> While re-implementing some Matlab code in Python, I've run into a problem >> of finding a NumPy funct

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread Maria Liukis
On Aug 17, 2009, at 9:51 PM, Charles R Harris wrote: On Mon, Aug 17, 2009 at 10:30 PM, Maria Liukis 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 uniq

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread Maria Liukis
Josef, Thanks, I'll try that and will search for your question from last december :) Masha liu...@usc.edu On Aug 17, 2009, at 9:44 PM, josef.p...@gmail.com wrote: On Tue, Aug 18, 2009 at 12:30 AM, Maria Liukis wrote: Hello everybody, While re-implementing some Matlab

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread Charles R Harris
On Mon, Aug 17, 2009 at 10:30 PM, Maria Liukis 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 >

Re: [Numpy-discussion] unique rows of array

2009-08-17 Thread josef . pktd
On Tue, Aug 18, 2009 at 12:30 AM, Maria Liukis 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 simi

[Numpy-discussion] unique rows of array

2009-08-17 Thread Maria Liukis
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 exam