Similar to equals, but checks that object attributes and types are also equal.
If two Index objects have equal elements and same type True, otherwise False.
pandas.Index.holds_integer
pandas.Index.insert