# xarray.CFTimeIndex.shape

#### *property* CFTimeIndex.shape

Return a tuple of the shape of the underlying data.

#### SEE ALSO
`Index.size`
: Return the number of elements in the underlying data.

`Index.ndim`
: Number of dimensions of the underlying data, by definition 1.

`Index.dtype`
: Return the dtype object of the underlying data.

`Index.values`
: Return an array representing the data in the Index.

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('97733be9-286e-455b-a9a3-ade6e595292a','d7c14342-e367-4d6b-9751-268ecdfcc02f','633235bd-14db-4479-8260-654ffa98afb9','../lite/tree/../notebooks/index.html?path=47a7e4a3_733f_45be_b4fc_dd9450a3368c.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> idx = pd.Index([1, 2, 3])
>>> idx
Index([1, 2, 3], dtype='int64')
>>> idx.shape
(3,)
```

<div id="633235bd-14db-4479-8260-654ffa98afb9" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('97733be9-286e-455b-a9a3-ade6e595292a','633235bd-14db-4479-8260-654ffa98afb9')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('97733be9-286e-455b-a9a3-ade6e595292a','633235bd-14db-4479-8260-654ffa98afb9')">Open In Tab</button></div><div id="d7c14342-e367-4d6b-9751-268ecdfcc02f" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
