-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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: fix Series(extension array) + extension array values addition #22479
Changes from 3 commits
ca8f101
9736f38
4f7ada3
215d7f7
31d8f02
7efeed8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -587,6 +587,14 @@ def test_cross_type_arithmetic(): | |
tm.assert_series_equal(result, expected) | ||
|
||
|
||
def test_arith_extension_array_values(): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you move the test to |
||
# GH 22478 | ||
s = pd.Series([1, 2, 3], dtype='Int64') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you add the issue as a comment |
||
result = s + s.values | ||
expected = pd.Series([2, 4, 6], dtype='Int64') | ||
tm.assert_series_equal(result, expected) | ||
|
||
|
||
def test_groupby_mean_included(): | ||
df = pd.DataFrame({ | ||
"A": ['a', 'b', 'b'], | ||
|
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.
W can remove this I think... integerArray is new in 0.24