# xarray.CFTimeIndex.dtype

#### CFTimeIndex.dtype

Return the dtype object of the underlying data.

The dtype describes the type of elements stored in the Index, such as
`int64`, `float64`, `object`, or an extension dtype.

#### SEE ALSO
`Index.inferred_type`
: Return a string of the type inferred from the values.

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('81f83c65-ad0b-412e-929c-6e15909c5e6c','f02fe1a9-6b2e-4e65-bfa4-c159775fb154','baa44ed3-7fd3-4f58-803d-ea28493349a2','../lite/tree/../notebooks/index.html?path=c4cfa1d6_11aa_45f8_8370_26c408c29c74.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> idx = pd.Index([1, 2, 3])
>>> idx
Index([1, 2, 3], dtype='int64')
>>> idx.dtype
dtype('int64')
```

<div id="baa44ed3-7fd3-4f58-803d-ea28493349a2" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('81f83c65-ad0b-412e-929c-6e15909c5e6c','baa44ed3-7fd3-4f58-803d-ea28493349a2')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('81f83c65-ad0b-412e-929c-6e15909c5e6c','baa44ed3-7fd3-4f58-803d-ea28493349a2')">Open In Tab</button></div><div id="f02fe1a9-6b2e-4e65-bfa4-c159775fb154" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
