pandas.Index.get_indexer_non_unique
pandas 3.1.1 · Index objects · method
Find all matching positions for target labels in a nonunique index and report the unmatched target positions.
Call syntax
Index.get_indexer_non_unique(target)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
target |
Required Positional or keyword |
Index Supply the labels to align or match against. |
Returns
indexer · np.ndarray[np.intp]; missing · np.ndarray[np.intp]