Fernando Perez | 9 Feb 23:43
Picon
Gravatar

Re: Emulate left outer join?

On Tue, Feb 9, 2010 at 5:02 PM, Robert Kern <robert.kern <at> gmail.com> wrote:
>
> numpy.lib.recfunctions.join_by(key, r1, r2, jointype='leftouter')
>

And if that isn't sufficient, John has in matplotlib.mlab a few other
similar utilities that allow for more complex cases:

In [2]: mlab.rec_
mlab.rec_append_fields  mlab.rec_groupby        mlab.rec_keep_fields
mlab.rec_drop_fields    mlab.rec_join           mlab.rec_summarize

Cheers,

f

Gmane