Re: [Numpy-discussion] Github notifications and trac-to-github migration

2012-07-25 Thread Aric Hagberg
On Wed, Jul 25, 2012 at 3:51 AM, Thouis (Ray) Jones wrote: > On Wed, Jul 25, 2012 at 6:53 AM, Fernando Perez wrote: >> Hi Thouis, >> >> On Tue, Jul 24, 2012 at 2:46 PM, Thouis (Ray) Jones wrote: >>> I would estimate I'm between a fourth and halfway through the >>> implementation of the trac-to-g

Re: [Numpy-discussion] Github notifications and trac-to-github migration

2012-07-25 Thread Ralf Gommers
On Tue, Jul 24, 2012 at 11:46 PM, Thouis (Ray) Jones wrote: > Hello, > > I would estimate I'm between a fourth and halfway through the > implementation of the trac-to-github-issues migration code. The work > lives in at https://github.com/thouis/numpy-trac-migration , though > without a copy of t

Re: [Numpy-discussion] view of recarray issue

2012-07-25 Thread Jay Bourque
I'm actively looking at this issue since it was my pull request that broke this (https://github.com/numpy/numpy/pull/350). We definitely don't want to break this functionality for 1.7. The problem is that even though indexing with a subset of fields still returns a copy (for now), it now returns a

Re: [Numpy-discussion] view of recarray issue

2012-07-25 Thread Skipper Seabold
On Sun, Jul 22, 2012 at 2:15 PM, Ralf Gommers wrote: > Hi, > > Just a heads up that right now views of recarrays seem to be problematic, > this doesn't work anymore: > import statsmodels.api as sm dta = sm.datasets.macrodata.load() # returns a record array with 14 fields dta.d

Re: [Numpy-discussion] Fwd: np.unique for one bi-dimensional array

2012-07-25 Thread Andreas Hilboll
> Hi, > > would like to identify unique pairs of numbers in two arrays o in one > bi-dimensional array, and count the observation > > a_clean=array([4,4,5,4,4,4]) > b_clean=array([3,5,4,4,3,4]) > > and obtain > (4,3,2) > (4,5,1) > (5,4,1) > (4,4,2) > > I solved with tow loops but off course there w

[Numpy-discussion] Fwd: np.unique for one bi-dimensional array

2012-07-25 Thread Giuseppe Amatulli
Hi, would like to identify unique pairs of numbers in two arrays o in one bi-dimensional array, and count the observation a_clean=array([4,4,5,4,4,4]) b_clean=array([3,5,4,4,3,4]) and obtain (4,3,2) (4,5,1) (5,4,1) (4,4,2) I solved with tow loops but off course there will be a faster solution.

Re: [Numpy-discussion] Github notifications and trac-to-github migration

2012-07-25 Thread Thouis (Ray) Jones
On Wed, Jul 25, 2012 at 6:53 AM, Fernando Perez wrote: > Hi Thouis, > > On Tue, Jul 24, 2012 at 2:46 PM, Thouis (Ray) Jones wrote: >> I would estimate I'm between a fourth and halfway through the >> implementation of the trac-to-github-issues migration code. The work >> lives in at https://githu