Re: [Numpy-discussion] Shape of join_by result is not what I expected

2010-02-10 Thread Pierre GM
On Feb 10, 2010, at 7:26 PM, David Carmean wrote: >> > > Got this to "work", but now it's revealed my lack of understanding of the > shape > of arrays; I'd hoped that the results would look like (be the same shape > as?) > the column_stack results. You're misunderstanding what structured ar

[Numpy-discussion] Shape of join_by result is not what I expected

2010-02-10 Thread David Carmean
On Tue, Feb 09, 2010 at 04:02:48PM -0600, Robert Kern wrote: > numpy.lib.recfunctions.join_by(key, r1, r2, jointype='leftouter') > * The output is sorted along the key. > * A temporary array is formed by dropping the fields not in the key for > the > two arrays and concatenating th