BUG: fix rolling with centering and axis=1 (#46135)
- [x] closes #46135
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

@github-actions pre-commit @github-actions pre-commit This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. Hi,
maybe I'm missing something but it seemed to me that the failures in the checks are unrelated to the commited changes.
Can someone please take a look at it? You will need to merge main and push to this branch again. Looks like previously the CI didn't run all the jobs Thanks @jyuv 