# xarray.CFTimeIndex.nbytes

#### *property* CFTimeIndex.nbytes

Return the number of bytes in the underlying data.

#### SEE ALSO
`Series.ndim`
: Number of dimensions of the underlying data.

`Series.size`
: Return the number of elements in the underlying data.

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('a73405ec-01d5-4bd2-8c38-f3615f0609ed','951f0f4e-1b28-497e-b9cf-583e703b9fbd','0087a966-a6fd-43b5-8290-791ac29145fb','../lite/tree/../notebooks/index.html?path=251dc883_6c12_41d4_b7ae_eb907b41600a.ipynb','None')">Try it in your browser!</button></div>

For Series:

```pycon
>>> s = pd.Series(["Ant", "Bear", "Cow"])
>>> s
0     Ant
1    Bear
2     Cow
dtype: str
>>> s.nbytes
34
```

For Index:

```pycon
>>> idx = pd.Index([1, 2, 3])
>>> idx
Index([1, 2, 3], dtype='int64')
>>> idx.nbytes
24
```

<div id="0087a966-a6fd-43b5-8290-791ac29145fb" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('a73405ec-01d5-4bd2-8c38-f3615f0609ed','0087a966-a6fd-43b5-8290-791ac29145fb')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('a73405ec-01d5-4bd2-8c38-f3615f0609ed','0087a966-a6fd-43b5-8290-791ac29145fb')">Open In Tab</button></div><div id="951f0f4e-1b28-497e-b9cf-583e703b9fbd" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
