Re: [Numpy-discussion] Working with lists

2007-08-09 Thread volker
8.0, 20)] > > How can I extract the first value of each pair given in parenthesis i.e. > 1950,1800,1600,1400,... ? > > Nils > Its easy i think: bounds_0 = (array(bounds)[:,0]).tolist() volker ___ Numpy-discussion mailing list Numpy-

Re: [Numpy-discussion] Count the occurrence of a certain in teger in a list of integers

2007-08-07 Thread volker
Keith Goodman gmail.com> writes: > > On 8/7/07, Keith Goodman gmail.com> wrote: > > On 8/7/07, Nils Wagner iam.uni-stuttgart.de> wrote: > > > I have a list of integer numbers. The entries can vary between 0 and 19. > > > How can I count the occurrence of any number. Consider > > > > > > >>> d