DOC/PERF: Decide how to handle floating point artifacts during rolling calculations · Issue #37051 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@mroeschke

Description

@mroeschke

Currently we have a check here that artificially handles a numerical precision issue in rolling.var and rolling.std where our rolling variance calculation is carrying forward floating point artifacts. Ideally we should be using a more numerically stable algorithm (maybe Kahan summation) so this check isn't so arbitrary.

Metadata

Metadata

Labels

Development

No branches or pull requests

Issue actions