[Numpy-discussion] lib.recfunctions: which version? (was Re: Emulate left outer join?)

Robert Kern robert.kern at gmail.com
Wed Feb 10 17:12:27 EST 2010


On Wed, Feb 10, 2010 at 15:57, David Carmean <dlc at halibut.com> wrote:
> On Tue, Feb 09, 2010 at 04:49:30PM -0600, John Hunter wrote:
>> On Tue, Feb 9, 2010 at 4:43 PM, Fernando Perez <fperez.net at gmail.com> wrote:
>> > 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')
>> >>
>
> Sorry, guys, maybe this is my python-newbness showing, but after installing
> numpy 1.4.0 (Windows 7 x64, Python(x,y) distro) and getting
>
>    >>> np.__version__
>    '1.4.0'
>
> I still can't figure out what to import/how to get to numpy.lib.recfunctions.
> Maybe I don't yet understand the scipy/numpy/matplotlib package structure?

from numpy.lib import recfunctions

recfunctions.join_by(...)

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list