Anonymous user
Cumulative standard deviation: Difference between revisions
→Python: In a couple of 'functional' lines
Line 2,722:
===Python: In a couple of 'functional' lines===
<lang python>>>> myMean = lambda MyList : reduce(lambda x, y: x + y, MyList) / float(len(MyList))
>>> myStd = lambda
>>> print myStd([2,4,4,4,5,5,7,9])
|