A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/docs/dev/development/../reference/api/pandas.Index.identical.html below:

pandas.Index.identical — pandas 3.0.0.dev0+2231.g4f2aa4d2be documentation

pandas.Index.identical#
final Index.identical(other)[source]#

Similar to equals, but checks that object attributes and types are also equal.

Parameters:
otherIndex

The Index object you want to compare with the current Index object.

Returns:
bool

If two Index objects have equal elements and same type True, otherwise False.

Examples

>>> idx1 = pd.Index(["1", "2", "3"])
>>> idx2 = pd.Index(["1", "2", "3"])
>>> idx2.identical(idx1)
True
>>> idx1 = pd.Index(["1", "2", "3"], name="A")
>>> idx2 = pd.Index(["1", "2", "3"], name="B")
>>> idx2.identical(idx1)
False

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4