Skip to content

BUG: Add numeric_only to function signature of DataFrameGroupBy.cumprod and `DataFrameGroupBy.cumsum #53071

Closed
@phofl

Description

@phofl

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

Both methods support numeric only but it goes through args or kwargs, which is annoying signature wise.

Issue Description

Add the keyword with the appropriate default

Expected Behavior

See above

Installed Versions

Replace this line with the output of pd.show_versions()

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions