A RetroSearch Logo

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

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.Index.is_.html below:

pandas.Index.is_ — pandas 2.3.1 documentation

pandas.Index.is_#
final Index.is_(other)[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:
bool

True if both have same underlying data, False otherwise.

See also

Index.identical

Works like Index.is_ but also checks metadata.

Examples

>>> idx1 = pd.Index(['1', '2', '3'])
>>> idx1.is_(idx1.view())
True
>>> idx1.is_(idx1.copy())
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