-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
BUG: preserve timezone info when writing empty tz-aware frame to HDF5 #37069
Conversation
looks like dupe of #37072 |
sorry just read the comment on the other PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kk, can you add a whatsnew note, in bug fixes I/O, ping on green
Green. |
@@ -296,6 +296,16 @@ def test_timezones_fixed(setup_path): | |||
tm.assert_frame_equal(result, df) | |||
|
|||
|
|||
@pytest.mark.parametrize("dtype", ["datetime64[ns, UTC]", "datetime64[ns, US/Eastern]"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
next PR can you change this to use the tz_aware_fixture
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
thanks @arw2019 |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Will handle series case in follow-on