Skip to content

Implement/dispatch unary operations for ExtensionArrays #23087

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

xref https://github.com/pandas-dev/pandas/pull/22325/files#r220580694

unary ops are not implemented by EAs and also not dispatched to EAs:

In [161]: s = pd.Series([1, 2, 3], dtype='Int64')

In [162]: -s
Out[162]: 
0    -1
1    -2
2    -3
dtype: object

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions