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

Robert Kern robert.kern@gmail....
Wed Feb 10 16:12:27 CST 2010


On Wed, Feb 10, 2010 at 15:57, David Carmean <dlc@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@gmail.com> wrote:
>> > 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')
>> >>
>
> 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