-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
BUG: Fixed Series.align(frame) with ExtensionArray #20580
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: Fixed Series.align(frame) with ExtensionArray #20580
Conversation
That fixed it! Thanks |
Codecov Report
@@ Coverage Diff @@
## master #20580 +/- ##
==========================================
+ Coverage 91.82% 91.82% +<.01%
==========================================
Files 152 152
Lines 49255 49255
==========================================
+ Hits 45226 45228 +2
+ Misses 4029 4027 -2
Continue to review full report at Codecov.
|
@@ -64,6 +65,20 @@ def test_align_frame(self, data, na_value): | |||
self.assert_frame_equal(r1, e1) | |||
self.assert_frame_equal(r2, e2) | |||
|
|||
def test_align_series_frame(self, data, na_value): | |||
# /Users/taugspurger/sandbox/pandas-ip/pandas/pandas/tests/extension/base/reshaping.py |
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.
suppose this is a left over?
@@ -75,6 +75,10 @@ def test_align(self, data, na_value): | |||
def test_align_frame(self, data, na_value): | |||
pass | |||
|
|||
@pytest.mark.skip(reason="Unobserved categories preseved in concat.") | |||
def test_align_series_frame(self, data, na_value): |
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.
Isn't this only because the way the test is constructed? You can also do it with the full of data
instead of only the first 3 elements. Then this is not an issue?
Closes #20576
cc @jorisvandenbossche