Skip to content

Conversation

@samukweku
Copy link
Collaborator

PR Description

Please describe the changes proposed in the pull request:

  • Ensure mutation on the dataframe is passed to the groupby
  • The above ensures subsequent calls within the mutate method can be applied to just created columns, that were probably not existing
  • e.g, if a column does not exist in the grp.obj columns, this PR ensures everything works fine.
    df.groupby('rar').mutate({'a':('b','sum'), 'a','prod'})

Please tag maintainers to review.

@samukweku samukweku self-assigned this Oct 18, 2025
@samukweku samukweku linked an issue Oct 18, 2025 that may be closed by this pull request
@ericmjl
Copy link
Member

ericmjl commented Oct 18, 2025

@samukweku samukweku merged commit e7f655b into dev Oct 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remove by feature of summarise and mutate

2 participants