pydata / xarray

N-D labeled arrays and datasets in Python
https://xarray.dev
Apache License 2.0
3.63k stars 1.09k forks source link

Rolling documentation does not specify window alignment #9773

Open adkinsjd opened 1 week ago

adkinsjd commented 1 week ago

What is your issue?

It would be very helpful if the documentation for all rolling functions specified that when center=False the rolling windows are right aligned.

Currently the only way to figure this out is to assume that the interface copies the pandas interface.

welcome[bot] commented 1 week ago

Thanks for opening your first issue here at xarray! Be sure to follow the issue template! If you have an idea for a solution, we would really welcome a Pull Request with proposed changes. See the Contributing Guide for more. It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better. Thank you!

max-sixty commented 1 week ago

Happy to take a PR for this!