cudf.Index.inferred_type#

property Index.inferred_type: str#

Return a string of the type inferred from the values.

Examples

>>> import cudf
>>> idx = cudf.Index([1, 2, 3])
>>> idx
Index([1, 2, 3], dtype='int64')
>>> idx.inferred_type
'integer'