pyspark.pandas.Index.is_interval

Index.is_interval() → bool

Return if the current index type is an interval type.

Examples

>>> ps.DataFrame({'a': [1]}, index=[1]).index.is_interval()
False