modin.pandas.Index.empty¶ property Index.empty: bool[source]¶ Whether the index is empty. Returns: True if the index has no elements, False otherwise. Return type: bool Examples CopyExpand>>> idx = pd.Index([1, 2, 3]) >>> idx Index([1, 2, 3], dtype='int64') >>> idx.empty False Show lessSee moreScroll to top CopyExpand>>> idx = pd.Index([], dtype='int64') >>> idx Index([], dtype='int64') >>> idx.empty True Show lessSee moreScroll to top