pandas.Index.identical

pandas 3.1.1 · Index objects · method

Check that two indexes agree on values and index metadata such as type and names.

Call syntax

Index.identical(other)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
other Required
Positional or keyword
Index

Supply the second object or value used in the operation.

Returns

bool