pyspark.pandas.Index.is_integer#

Index.is_integer()[source]#

Return if the current index type is an integer type.

Examples

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