# xarray.CFTimeIndex.name

#### *property* CFTimeIndex.name

Return Index or MultiIndex name.

The name (or label) of an Index provides metadata that can be used
to identify the axis in DataFrames and Series.

* **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('debb1f16-6d65-459e-af71-7596acb1d065','bc3cacb7-1a9f-45e6-970d-c3de77200bf9','fd2e3ba0-8a0c-4a35-9935-0f2875beb0d9','../lite/tree/../notebooks/index.html?path=e33546a5_3008_4168_bcda_5afe0ba3141d.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="fd2e3ba0-8a0c-4a35-9935-0f2875beb0d9" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('debb1f16-6d65-459e-af71-7596acb1d065','fd2e3ba0-8a0c-4a35-9935-0f2875beb0d9')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('debb1f16-6d65-459e-af71-7596acb1d065','fd2e3ba0-8a0c-4a35-9935-0f2875beb0d9')">Open In Tab</button></div><div id="bc3cacb7-1a9f-45e6-970d-c3de77200bf9" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
