Skip to content

Improve warning message and tests for timedelta decoding #10508

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

Merged
merged 3 commits into from
Jul 10, 2025

Conversation

shoyer
Copy link
Member

@shoyer shoyer commented Jul 7, 2025

The new warning message gives years clearer and simpler guidance on how to silence the warning.

The new tests verify that dtype attributes on disk like timedelta64[s] will be decoded properly.

The new warning message gives years clearer and simpler guidance on
how to silence the warning.

The new tests verify that `dtype` attributes on disk like
`timedelta64[s]` will be decoded properly.
Copy link
Member

@spencerkclark spencerkclark left a comment

Choose a reason for hiding this comment

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

Thanks, looks good!

This might be sufficient to close #10382. My main takeaway there was that it would be good to include at least one variable name that triggered the warning, which is what this PR does.

shoyer and others added 2 commits July 10, 2025 08:39
@shoyer shoyer merged commit 3074394 into pydata:main Jul 10, 2025
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants