Skip to content

Commit ad41e6c

Browse files
kwhkimyehoshuadimarsky
authored andcommitted
DOC: sample variance -> population variance (pandas-dev#46482) (pandas-dev#46711)
1 parent 0962729 commit ad41e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/gotchas.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ integer arrays to floating when NAs must be introduced.
367367
Differences with NumPy
368368
----------------------
369369
For :class:`Series` and :class:`DataFrame` objects, :meth:`~DataFrame.var` normalizes by
370-
``N-1`` to produce unbiased estimates of the sample variance, while NumPy's
370+
``N-1`` to produce `unbiased estimates of the population variance <https://en.wikipedia.org/wiki/Bias_of_an_estimator>`__, while NumPy's
371371
:meth:`numpy.var` normalizes by N, which measures the variance of the sample. Note that
372372
:meth:`~DataFrame.cov` normalizes by ``N-1`` in both pandas and NumPy.
373373

0 commit comments

Comments
 (0)