[New-bugs-announce] [issue40855] statistics.stdev ignore xbar argument
Matti
report at bugs.python.org
Wed Jun 3 08:31:21 EDT 2020
New submission from Matti <matti.jansson at fysik.su.se>:
statistics.variance also has the same problem.
>>> import statistics
>>> statistics.stdev([1,2])
0.7071067811865476
>>> statistics.stdev([1,2], 3)
0.7071067811865476
>>> statistics.stdev([1,2], 1.5)
0.7071067811865476
should be
0.7071067811865476
2.23606797749979
0.5
----------
messages: 370659
nosy: Folket
priority: normal
severity: normal
status: open
title: statistics.stdev ignore xbar argument
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40855>
_______________________________________
More information about the New-bugs-announce
mailing list