Skip to content

DOC: sample variance -> population variance #46482

Closed
@kwhkim

Description

@kwhkim

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/dev/user_guide/gotchas.html

Documentation problem

Differences with NumPy
For Series and DataFrame objects, var() normalizes by
N-1 to produce unbiased estimates of the sample variance, while NumPy’s numpy.var() normalizes by N, which measures the variance of the sample.

"unbiased estimates of the sample variance" needs to be corrected to 'the population variance'

Suggested fix for documentation

"unbiased estimates of the sample variance" needs to be corrected to 'the population variance'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions