# 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('55fab552-0702-4c68-b0e2-083c4e6ea2ed','74956845-c172-4e1b-85c5-2df2f53ee337','448a6805-c0aa-48f5-84e7-391b9f303914','../lite/tree/../notebooks/index.html?path=0fd65686_5fe3_4cd9_87b4_d7683b25efd9.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="448a6805-c0aa-48f5-84e7-391b9f303914" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('55fab552-0702-4c68-b0e2-083c4e6ea2ed','448a6805-c0aa-48f5-84e7-391b9f303914')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('55fab552-0702-4c68-b0e2-083c4e6ea2ed','448a6805-c0aa-48f5-84e7-391b9f303914')">Open In Tab</button></div><div id="74956845-c172-4e1b-85c5-2df2f53ee337" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
