Skip to content

Conversation

MarcoGorelli
Copy link
Member

  • Closes #xxxx (Replace xxxx with the Github issue number)
  • Tests added: Please use assert_type() to assert the type of any return value

Comment on lines 840 to 841
# Evaluates to ArrayLike in DataFrame.assign context.
IntoArrayLike: TypeAlias = AnyArrayLike | Callable[[DataFrame], AnyArrayLike]
Copy link
Member Author

Choose a reason for hiding this comment

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

related, I had a bit of fun with this in https://github.com/MarcoGorelli/pandas_col 😄

@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 18, 2025 11:33
@MarcoGorelli MarcoGorelli marked this pull request as draft March 18, 2025 11:34
@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 18, 2025 14:12
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

thanks @MarcoGorelli

@Dr-Irv Dr-Irv merged commit d572c11 into pandas-dev:main Mar 18, 2025
13 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