-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: df.reset_index loses tz #7533
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
Conversation
@@ -11876,6 +11876,22 @@ def test_reset_index_with_datetimeindex_cols(self): | |||
datetime(2013, 1, 2)]) | |||
assert_frame_equal(result, expected) | |||
|
|||
def test_reset_index_with_tz(self): | |||
# GH 3950 |
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.
their are already some tests for for this issue
can u locate these near them?
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.
put them here (either inside this function, or right after), just so that they are together: https://github.com/pydata/pandas/blob/master/pandas/tests/test_frame.py#L2137
OK, modified locs. |
needs a rebase |
thanks! |
Don't use thanks |
Closes #3950.