[Numpy-discussion] Emulate left outer join?

Fernando Perez fperez.net@gmail....
Tue Feb 9 16:43:16 CST 2010


On Tue, Feb 9, 2010 at 5:02 PM, Robert Kern <robert.kern@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


More information about the NumPy-Discussion mailing list