Skip to content

Conversation

@Dr-Irv
Copy link
Collaborator

@Dr-Irv Dr-Irv commented Oct 31, 2025

Following code was failing:

df.assign(foo=lambda df: df.get("abc", None))

saying that a callable returning Series | None could not work. This PR fixes that.

@Dr-Irv Dr-Irv requested a review from cmp0xff October 31, 2025 15:18
Copy link
Contributor

@cmp0xff cmp0xff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently related to #1238 and #1239. Thank you @Dr-Irv !

@cmp0xff cmp0xff merged commit 45ac3c1 into pandas-dev:main Oct 31, 2025
16 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.

2 participants