pandas.Index.is_ β€” pandas 1.0.1 documentation (original) (raw)

Index. is_(self, other) β†’ bool[source]ΒΆ

More flexible, faster check like is but that works through views.

Note: this is not the same as Index.identical(), which checks that metadata is also the same.

Parameters

otherobject

other object to compare against.

Returns

True if both have same underlying data, False otherwisebool