Skip to content

ENH: Accept no fields for groupby by #61160

Open
@simonaubertbd

Description

@simonaubertbd

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

Hello,

Sometimes, you have no fields to group by when aggregating. I know there is then an aggregate function but it would help having a more dynamic code to allow the use of groupy by without any grouping field instead of this error :

Image

Best regards,

Simon

Feature Description

Just the ability to select no fields in the by argument

Alternative Solutions

A conditional function that uses groupby or aggregate

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions