-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fixed concat with reindex and extension types #33522
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
Can you give a brief overview? ive got a couple of branches going, may need to mothball them until you're done |
Nothing actually written down yet, and no timeline. Just a general sense of "this is probably more complex than it needs to be". So I wouldn't recommend planning around me. |
Might conflict/overlap with #33486 |
needs rebase |
just pushed a rebase |
3466934
to
7fc30a0
Compare
Just (force) pushed a rebase. I think this will fail till #34338 is in. |
@TomAugspurger this will need an update now #34339 is merged |
Merged. No need for |
This should be good to go now. |
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.
tiny comment, otherwise lgtm.
@@ -374,6 +384,10 @@ def _get_empty_dtype_and_na(join_units): | |||
upcast_cls = "category" | |||
elif is_datetime64tz_dtype(dtype): | |||
upcast_cls = "datetimetz" | |||
|
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.
sort of dumb, but no blank lines before/after
thanks @TomAugspurger |
@@ -93,7 +93,8 @@ class TestConstructors(base.BaseConstructorsTests): | |||
|
|||
|
|||
class TestReshaping(base.BaseReshapingTests): | |||
pass | |||
def test_concat_with_reindex(self, data): | |||
pytest.xfail(reason="Deliberately upcast to object?") |
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.
Do we have an issue for this? (it seems we shouldn't cast to object when only needing to append NaNs?)
Closes #27692
Closes #33027
I have a larger cleanup planned, but this fixes the linked issues for now.