Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
This commit is contained in:
parent
18933ed6ab
commit
cc22984d9e
|
@ -593,7 +593,6 @@ def pvariance(data, mu=None):
|
|||
n = len(data)
|
||||
if n < 1:
|
||||
raise StatisticsError('pvariance requires at least one data point')
|
||||
ss = _ss(data, mu)
|
||||
T, ss = _ss(data, mu)
|
||||
return _convert(ss/n, T)
|
||||
|
||||
|
|
Loading…
Reference in New Issue