# xarray.CFTimeIndex.ravel

#### CFTimeIndex.ravel(order='C')[[source]](https://github.com/pydata/xarray/blob/main/xarray/../.pixi/envs/doc/lib/python3.14/site-packages/pandas/core/indexes/base.py#L1005-L1031)

Return a view on self.

* **Parameters:**
  **order** (`{'K', 'A', 'C', 'F'}`, *default* `'C'`) – Specify the memory layout of the view. This parameter is not
  implemented currently.
* **Returns:**
  [`Index`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Index.html#pandas.Index) – A view on self.

#### SEE ALSO
[`numpy.ndarray.ravel`](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.ravel.html#numpy.ndarray.ravel)
: Return a flattened array.

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('c3332b2a-9d1c-4448-a1da-1dd2eb50fb87','b89662bb-0968-491a-89ab-e21238f70980','77437ae8-e2a6-4e20-8edf-6d373a661230','../lite/tree/../notebooks/index.html?path=df952a45_7dac_46c2_bdd0_6841f1020262.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> s = pd.Series([1, 2, 3], index=["a", "b", "c"])
>>> s.index.ravel()
Index(['a', 'b', 'c'], dtype='str')
```

<div id="77437ae8-e2a6-4e20-8edf-6d373a661230" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('c3332b2a-9d1c-4448-a1da-1dd2eb50fb87','77437ae8-e2a6-4e20-8edf-6d373a661230')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('c3332b2a-9d1c-4448-a1da-1dd2eb50fb87','77437ae8-e2a6-4e20-8edf-6d373a661230')">Open In Tab</button></div><div id="b89662bb-0968-491a-89ab-e21238f70980" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
