Skip to content

precision issue with rolling_std #9420

Closed
@leo4183

Description

@leo4183

i tested rolling_std func with some real data (floating number with format x.xx). For a Series/DataFrame which contains let's say 5 continuous identical rows among several hundreds, the rolling_std could return a small number with 10^-7 scale instead exactly zero. this is probably a known issue which has not been officially documented. i'm just curious with the reason behind and why the std member func works better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions