ENH 48030: Add rolling.prod
- [ ] closes #48030 
- [ ] [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
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Hello @Mehgarg! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:

* In the file [`pandas/core/window/rolling.py`](https://github.com/pandas-dev/pandas/blob/d4cf6fbad4981c65bf4fd3b702572c8f2e49d7af/pandas/core/window/rolling.py):

> [Line 1503:5](https://github.com/pandas-dev/pandas/blob/d4cf6fbad4981c65bf4fd3b702572c8f2e49d7af/pandas/core/window/rolling.py#L1503): [E301](https://duckduckgo.com/?q=pep8%20E301) expected 1 blank line, found 0
> [Line 1508:7](https://github.com/pandas-dev/pandas/blob/d4cf6fbad4981c65bf4fd3b702572c8f2e49d7af/pandas/core/window/rolling.py#L1508): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 1511:89](https://github.com/pandas-dev/pandas/blob/d4cf6fbad4981c65bf4fd3b702572c8f2e49d7af/pandas/core/window/rolling.py#L1511): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (89 > 88 characters)

* In the file [`pandas/tests/window/test_rolling.py`](https://github.com/pandas-dev/pandas/blob/d4cf6fbad4981c65bf4fd3b702572c8f2e49d7af/pandas/tests/window/test_rolling.py):

> [Line 1276:89](https://github.com/pandas-dev/pandas/blob/d4cf6fbad4981c65bf4fd3b702572c8f2e49d7af/pandas/tests/window/test_rolling.py#L1276): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (96 > 88 characters)



 @Mehgarg Hi There is [PEP 8] issues. Can install pre-commit to resolve this. :)
```
pip install pre-commit
pre-commit install
```
https://pre-commit.com/ 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. Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.