mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
This commit is contained in:
parent
dba903993a
commit
bc62aae923
1 changed files with 0 additions and 1 deletions
|
@ -601,7 +601,6 @@ def pvariance(data, mu=None):
|
||||||
n = len(data)
|
n = len(data)
|
||||||
if n < 1:
|
if n < 1:
|
||||||
raise StatisticsError('pvariance requires at least one data point')
|
raise StatisticsError('pvariance requires at least one data point')
|
||||||
ss = _ss(data, mu)
|
|
||||||
T, ss = _ss(data, mu)
|
T, ss = _ss(data, mu)
|
||||||
return _convert(ss/n, T)
|
return _convert(ss/n, T)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue