pandas.Index.is_#

final Index.is_(other)[源代码]#

更灵活、更快速的检查,如 is 但这是通过视图来实现的。

注:这是 not 与相同 Index.identical() ,它检查元数据是否也相同。

参数
other对象

要比较的其他对象。

退货
布尔尔

如果两者具有相同的基础数据,则为True,否则为False。

参见

Index.identical

其工作原理如下 Index.is_ 而且还检查元数据。