Function signature53071
- [x] closes #53071  (Replace xxxx with the GitHub issue number)
- [ ] [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.

Previously, the skipna and numeric_only parameters could only be passed via the *args or **kwargs parameters, which could make the function signatures less clear and confusing for users. With these changes, the new parameters are included in the function signature and in the calls to the cumprod and cumsum methods inside the functions.
> You'll have to update the doctoring as well to reflect the new arguments

What about something like this?

```python
@final
@Substitution(name="groupby")
@Appender(_common_see_also)
def cumprod(
    self,
    axis: Axis | lib.NoDefault = lib.no_default,
    skipna: bool = True,
    numeric_only: bool = False,
    *args,
    **kwargs,
) -> NDFrameT:
    """
    Cumulative product for each group.

    Parameters
    ----------
    axis : int, default 0
        The axis to apply the cumulative product along.
    skipna : bool, default True
        Exclude NA/null values when computing the result.
    numeric_only : bool, default False
        Include only float, int, boolean columns. 
    *args, **kwargs
        Additional arguments to be passed to the cumprod method of each group.

    Returns
    -------
    Series or DataFrame
        The cumulative product of each group.
    """
```
 Please remove the None part in the numeric_only doctoring 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.