# 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('d6fb23ed-bc21-4cba-917b-3e1ea74772a8','c07ed29a-0af7-42ad-b35f-eb6cc431b80e','16c8d104-d1e2-4c07-9b99-b384f87890d6','../lite/tree/../notebooks/index.html?path=14e4904f_1229_4cfa_a977_b09dee26c4dd.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="16c8d104-d1e2-4c07-9b99-b384f87890d6" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('d6fb23ed-bc21-4cba-917b-3e1ea74772a8','16c8d104-d1e2-4c07-9b99-b384f87890d6')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('d6fb23ed-bc21-4cba-917b-3e1ea74772a8','16c8d104-d1e2-4c07-9b99-b384f87890d6')">Open In Tab</button></div><div id="c07ed29a-0af7-42ad-b35f-eb6cc431b80e" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
