Skip to content

ENH: enable concat for nullable Int with other dtypes #34095

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

Following-up on #33607 which added the ExtensionDtype._get_common_dtype method to the EA interface to determine concat/append behaviour, we can now use this to refine the concat behaviour for nullable integer and boolean dtypes.

See comment here: #33607 (comment)

For now, the PR only enabled concat of all IntegerDtype objects (any other combination will result in object dtype). But, we can expand this to the combination of IntegerDtype with numpy int dtype, Int with boolean, Int with float, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions