quick numpy question

Pablo Romero <romero619@...32...> writes:

quick numpy-related question.

Not the best mailing list then, but...

I want to use numpy.arange() to create multiple arrays, and then I
want to join these arrays (or individual elements) to the final array
without repeating existing elements (create a 'union' from 2 or more
arrays or individual elements).

Try np.union1d (and note that the numpy book has been in the public
domain since August: http://www.tramy.us/guidetoscipy.html )

···

--
Jouni K. Sepp�nen

Thank you, and I apologize if the question wasnt appropriate for this list.
P.Romero

···

----------------------------------------

To: matplotlib-users@lists.sourceforge.net
From: jks@...397...
Date: Wed, 18 Mar 2009 07:44:33 +0200
Subject: Re: [Matplotlib-users] quick numpy question

Pablo Romero writes:

quick numpy-related question.

Not the best mailing list then, but...

I want to use numpy.arange() to create multiple arrays, and then I
want to join these arrays (or individual elements) to the final array
without repeating existing elements (create a 'union' from 2 or more
arrays or individual elements).

Try np.union1d (and note that the numpy book has been in the public
domain since August: http://www.tramy.us/guidetoscipy.html )

--
Jouni K. Seppänen
http://www.iki.fi/jks

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009