Re: Average of entries in a list of lists

2009-09-24 Thread Dave Angel
Evora wrote: Hello, I'm a bit of a newbie to python, so this may very well be a basic question: I have a list of lists, with around 1000 lists looking like this: ['0.000744', '0.480106', 'B']. I need the average of the first to entries of all the lists, can anybody help how me to do this? Tha

Re: Average of entries in a list of lists

2009-09-24 Thread Xavier Ho
On Thu, Sep 24, 2009 at 8:54 PM, Evora wrote: > > Hello, > > I'm a bit of a newbie to python, so this may very well be a basic question: > > I have a list of lists, with around 1000 lists looking like this: > ['0.000744', '0.480106', 'B']. > > I need the average of the first to entries of all the

Average of entries in a list of lists

2009-09-24 Thread Evora
help how me to do this? Thanks in advance, Evora -- View this message in context: http://www.nabble.com/Average-of-entries-in-a-list-of-lists-tp2090p2090.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: Average of entries in a list of lists

2009-09-24 Thread Steven D'Aprano
On Thu, 24 Sep 2009 01:30:10 -0700, Evora wrote: > Hello, > > I'm a bit of a newbie to python, so this may very well be a basic > question: > > I have a list of lists, with around 1000 lists looking like this: > ['0.000744', '0.480106', 'B']. > > I need the average of the first to entries of al

Average of entries in a list of lists

2009-09-24 Thread Evora
help how me to do this? Thanks in advance, Evora -- View this message in context: http://www.nabble.com/Average-of-entries-in-a-list-of-lists-tp25543334p25543334.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list