ENH: Add duplicated to MaskedArray/ExtensionArray interface #48424
Labels
duplicated
duplicated, drop_duplicates
Enhancement
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Needs Discussion
Requires discussion from core team before further action
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
The text was updated successfully, but these errors were encountered: