Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PERF: Avoid a numpy array copy in ArrowExtensionArray._to_datetimearray #60778

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

mroeschke
Copy link
Member

We shouldn't need to copy from the astype when converting a ArrowExtensionArray to a DatetimeArray or TimedeltaArray

@mroeschke mroeschke added Performance Memory or execution speed performance Arrow pyarrow functionality labels Jan 23, 2025
@mroeschke mroeschke added this to the 3.0 milestone Jan 23, 2025
@WillAyd WillAyd merged commit c168883 into pandas-dev:main Jan 24, 2025
58 checks passed
@WillAyd
Copy link
Member

WillAyd commented Jan 24, 2025

Thanks @mroeschke

@mroeschke mroeschke deleted the perf/arrowea/to_dtlike branch January 24, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants