Re: Looking for module for shrinking a list with n-point means

2009-05-22 Thread Yash Ganthe
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

Looking for module for shrinking a list with n-point means

2009-05-22 Thread Yash Ganthe
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 10-