On Mon, May 06, 2019 at 08:10:44PM +0300, Serge Matveenko wrote: > On Sun, May 5, 2019 at 1:08 PM Luca Baldini <[email protected]> wrote: > > > > Hi here, > > I wonder if the idea of adding to the statistics module a class to > > calculate the running statistics (average and standard deviation) of a > > generic input data stream has ever come up in the past.
[...] > Personally, I would definitely use this in a number of places in the > real-life code I contribute to. > > The problem that I have with this idea is it's not clear how to store > the data in an accumulator class. What about cases with different > contexts in asyncio and/or multithreading code? Can you give an example of the sort of thing you might want to do? Thanks, -- Steven _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
