Hi,
I would like to shrink a large list in the following way:
If the List has 1000 integers, we need only 100 averages such that the
1000 points are average for every 10 consecutive values. So p0 to p9
will be averaged to obtain t0. p10 to p19 will be averaged to obtain
t1 and so on. This is a
On May 22, 8:03 pm, Yash Ganthe yas...@gmail.com wrote:
Hi,
I would like to shrink a large list in the following way:
If the List has 1000 integers, we need only 100 averages such that the
1000 points are average for every 10 consecutive values. So p0 to p9
will be averaged to obtain t0. p10
Yash Ganthe wrote:
I would like to shrink a large list in the following way:
If the List has 1000 integers, we need only 100 averages such that the
1000 points are average for every 10 consecutive values. So p0 to p9
will be averaged to obtain t0. p10 to p19 will be averaged to obtain
t1 and so
On 2009-05-22 08:50, Scott David Daniels wrote:
Yash Ganthe wrote:
I would like to shrink a large list in the following way:
If the List has 1000 integers, we need only 100 averages such that the
1000 points are average for every 10 consecutive values. So p0 to p9
will be averaged to obtain t0.
Thanks John,
The code u provided works for me. Indeed it is a simple requirement
and I am a complete novice to Python.
-Yash
--
http://mail.python.org/mailman/listinfo/python-list