Skip to content

Possible to implement a Centered moving average? #186

Open
@CP-Vub

Description

@CP-Vub

Dear Devs,
I have used your module in the past with great success in speeding up my code. However, I wonder if it is possible to implement or add perhaps a Boolean to the moving mean function that lets the user specify whether he wants a centered average or not, similar to:
pandas.DataFrame.rolling(window=width,center=True).mean()
Currently I am still using pandas for central moving averages but it is significantly slower than Bottlenecks functions unfortunately.

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