Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Index.is_#

finalIndex.is_(other)[source]#

More flexible, faster check likeis but that works through views.

Note: this isnot the same asIndex.identical(), which checksthat 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 likeIndex.is_ but also checks metadata.

Examples

>>>idx1=pd.Index(['1','2','3'])>>>idx1.is_(idx1.view())True
>>>idx1.is_(idx1.copy())False

[8]ページ先頭

©2009-2025 Movatter.jp