Open
Description
We should document the expected behavior for binary operations between ExtensionArrays and pandas' own objects (Series, DataFrame, Index). We should update our own EAs to match the docs.
In [4]: integer_array([1, 2]) + pd.Series([1, 2])
Out[4]: IntegerArray([2, 4], dtype='Int64')
Out[4]
should be a Series with "Int64" dtype, to match the behavior of ndarray + series.
We've documented this, but need to test between series, index, dataframe, and the array class
pandas/pandas/tests/extension/base/ops.py
Lines 83 to 88 in 6bf6cd2