modin.pandas.Index.empty¶
- property Index.empty: bool[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/src/snowflake/snowpark/modin/plugin/extensions/index.py#L885-L909)¶
- Whether the index is empty. - Returns:
- True if the index has no elements, False otherwise. 
- Return type:
- bool 
 - Examples - >>> idx = pd.Index([1, 2, 3]) >>> idx Index([1, 2, 3], dtype='int64') >>> idx.empty False - >>> idx = pd.Index([], dtype='int64') >>> idx Index([], dtype='int64') >>> idx.empty True