Skip to content

ENH: Add duplicated to MaskedArray/ExtensionArray interface #48424

Closed
@phofl

Description

@phofl

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

#48150 will support masks in the duplicated hashtable function. Currently, we have to special case MaskedArrays to pass the mask only when necessary into the function. This could be avoided when adding duplicated to the interface, same as unique is currently implemented

Feature Description

See above

Alternative Solutions

See above

Additional Context

No response

cc @mroeschke @jorisvandenbossche

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNA - MaskedArraysRelated to pd.NA and nullable extension arraysNeeds DiscussionRequires discussion from core team before further actionduplicatedduplicated, drop_duplicates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions