Re: [Numpy-discussion] set operation

2010-08-17 Thread John Salvatier
It should be noted that the 'set' type is a basic Python type, and not a NumPy specific type. On Tue, Aug 17, 2010 at 7:30 AM, Benjamin Root wrote: > On Tue, Aug 17, 2010 at 9:11 AM, gerardob wrote: > >> >> I would like to create a set composed of the numbers 2,3,4,...49,50,51. >> How >> do i d

Re: [Numpy-discussion] set operation

2010-08-17 Thread Benjamin Root
On Tue, Aug 17, 2010 at 9:11 AM, gerardob wrote: > > I would like to create a set composed of the numbers 2,3,4,...49,50,51. How > do i do? > Thanks. > Gerard, Well, you can easily create a list of those numbers like so: >>> a = range(2, 52) # note, you have to go one past the last number yo

[Numpy-discussion] set operation

2010-08-17 Thread gerardob
I would like to create a set composed of the numbers 2,3,4,...49,50,51. How do i do? Thanks. -- View this message in context: http://old.nabble.com/set-operation-tp29449267p29449267.html Sent from the Numpy-discussion mailing list archive at Nabble.com. _