# xarray.CFTimeIndex.inferred_type

#### CFTimeIndex.inferred_type

Return a string of the type inferred from the values.

This inspects the actual values in the Index to determine their type,
which may differ from the stored `dtype`. For example,
an object-dtype Index containing only integers returns `'integer'`.

#### SEE ALSO
`Index.dtype`
: Return the dtype object of the underlying data.

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('f722def9-6460-4c51-ae06-fb17d934b8e0','024b0b4f-22ef-48d9-903a-ccc254310b0c','2c4bd4f4-8d57-4c5c-b296-df362f8c3c9a','../lite/tree/../notebooks/index.html?path=59e9d0cc_2d66_4df7_b6e7_0fe2f8622fd3.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> idx = pd.Index([1, 2, 3])
>>> idx
Index([1, 2, 3], dtype='int64')
>>> idx.inferred_type
'integer'
```

<div id="2c4bd4f4-8d57-4c5c-b296-df362f8c3c9a" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('f722def9-6460-4c51-ae06-fb17d934b8e0','2c4bd4f4-8d57-4c5c-b296-df362f8c3c9a')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('f722def9-6460-4c51-ae06-fb17d934b8e0','2c4bd4f4-8d57-4c5c-b296-df362f8c3c9a')">Open In Tab</button></div><div id="024b0b4f-22ef-48d9-903a-ccc254310b0c" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
