Implement/dispatch unary operations for ExtensionArrays · Issue #23087 · pandas-dev/pandas (original) (raw)
In [161]: s = pd.Series([1, 2, 3], dtype='Int64')
In [162]: -s
Out[162]:
0 -1
1 -2
2 -3
dtype: object
In [161]: s = pd.Series([1, 2, 3], dtype='Int64')
In [162]: -s
Out[162]:
0 -1
1 -2
2 -3
dtype: object