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

test(python): Add test for Series.to_numpy with timezones #14337

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

stinodego
Copy link
Member

Since NumPy does not have time zones, we simply use the underlying physical representation. This is equivalent to converting to UTC first.

This was already handled correctly, just adding a test here to make sure.

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars labels Feb 7, 2024
@stinodego stinodego mentioned this pull request Feb 7, 2024
14 tasks
@stinodego stinodego marked this pull request as ready for review February 7, 2024 12:37
@stinodego stinodego merged commit 32a79fd into main Feb 7, 2024
11 checks passed
@stinodego stinodego deleted the to-numpy-timezones branch February 7, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant