# xarray.CFTimeIndex.name

#### *property* CFTimeIndex.name

Return Index or MultiIndex name.

* **Returns:**
  `label (hashable object)` – The name of the Index.

#### SEE ALSO
`Index.set_names`
: Able to set new names partially and by level.

[`Index.rename`](xarray.Index.rename.html.md#xarray.Index.rename)
: Able to set new names partially and by level.

`Series.name`
: Corresponding Series property.

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('e94aee23-e97c-4c76-b8c9-5b78095c3d34','ea99a2ba-b59d-4f91-afed-10dc2d183817','244b4181-c866-4e6b-9c81-18510579703f','../lite/tree/../notebooks/index.html?path=dbb9ead6_53ea_483c_be7e_ef33696a065d.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> idx = pd.Index([1, 2, 3], name="x")
>>> idx
Index([1, 2, 3], dtype='int64',  name='x')
>>> idx.name
'x'
```

<div id="244b4181-c866-4e6b-9c81-18510579703f" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('e94aee23-e97c-4c76-b8c9-5b78095c3d34','244b4181-c866-4e6b-9c81-18510579703f')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('e94aee23-e97c-4c76-b8c9-5b78095c3d34','244b4181-c866-4e6b-9c81-18510579703f')">Open In Tab</button></div><div id="ea99a2ba-b59d-4f91-afed-10dc2d183817" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
