pandas.Index.inferred_type — pandas 2.2.3 documentation (original) (raw)
Return a string of the type inferred from the values.
Examples
idx = pd.Index([1, 2, 3]) idx Index([1, 2, 3], dtype='int64') idx.inferred_type 'integer'
Return a string of the type inferred from the values.
Examples
idx = pd.Index([1, 2, 3]) idx Index([1, 2, 3], dtype='int64') idx.inferred_type 'integer'