-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: fix df concat containing mix of localized and non-localized Timestamps #12462
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
@@ -46,6 +46,27 @@ def test_combine_multiple_frames_dtypes(self): | |||
expected = Series(dict(float64=2, float32=2)) | |||
assert_series_equal(results, expected) | |||
|
|||
def test_combine_multiple_tzs(self): | |||
ts1 = Timestamp('2015-01-01', tz=None) |
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.
add the issue number here as well
547a104
to
0f3e9d7
Compare
Created #12467 and added it in test comment |
0f3e9d7
to
4bc2dd3
Compare
ping! |
Hey Jeff, I've looked into the other failures a little but don't fully understand when/why the expected dims change. It looks like merge (the tests that fail) always wants a 1d array and is failing because we are using atleast_2d on one of our inputs to make our (2-d, 1-d) input combo compatible. Perhaps we should instead be making the 2-d into a 1-d? Is this just playing wack-a-mole? |
a bit of a hack, but assure 2d-ness only when we are axis=1 concat.
|
That passes the tests that were failing. Unfortunately, can't push from work. Will make that change this evening. |
@tsdlovell np. |
travis is failing on OSX and py3.5 at the same points
Was working in the env I created a bit ago, but fails in an env I just created, so maybe something to do with change in dependencies. Will look into it. |
numpy 1.11 was just updated fully in conda |
rebase and should be good to go |
TST: test concat of dataframes with non-None timezone columns
@tsdlovell thank you sir! |
BUG: fix issue with concat of localized timestamps
TST: test concat of dataframes with non-None timezone columns