Skip to content

Commit 2981bc5

Browse files
committed
DOC: sample variance -> population variance (pandas-dev#46482)
1 parent b3b5e2a commit 2981bc5

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, 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)