# 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('33eef295-6347-43d9-8be4-b2bbf545a14d','bf76e44d-39c9-41ba-8949-8cc5326094f9','0e3d0daa-5215-416f-9096-0d3edba5b556','../lite/tree/../notebooks/index.html?path=410bc1a5_8e25_43a0_9ec5_efc0f82aa7be.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="0e3d0daa-5215-416f-9096-0d3edba5b556" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('33eef295-6347-43d9-8be4-b2bbf545a14d','0e3d0daa-5215-416f-9096-0d3edba5b556')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('33eef295-6347-43d9-8be4-b2bbf545a14d','0e3d0daa-5215-416f-9096-0d3edba5b556')">Open In Tab</button></div><div id="bf76e44d-39c9-41ba-8949-8cc5326094f9" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
