# xarray.core.accessor_str.StringAccessor.istitle

#### StringAccessor.istitle()[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/accessor_str.py#L1034-L1064)

Check whether all characters in each string are titlecase.

* **Returns:**
  **istitle** ([array](https://numpy.org/doc/stable/glossary.html#term-array) of [`bool`](https://docs.python.org/3/builtins/functions.html#bool)) – Array of boolean values with the same shape as the original array.

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('28795f0b-06a8-4730-ac4b-3d899d3371ea','56a245d2-95dd-47da-b01a-43f198887456','f1fd599d-67d5-4e98-82a3-0e8ebb34d2a2','../lite/tree/../notebooks/index.html?path=08c45192_61fe_4d99_8982_3c4a0186e235.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> da = xr.DataArray(
...     [
...         "The Evolution Of Species",
...         "The Theory of relativity",
...         "the quantum mechanics of atoms",
...     ],
...     dims="title",
... )
>>> da
<xarray.DataArray (title: 3)> Size: 360B
array(['The Evolution Of Species', 'The Theory of relativity',
       'the quantum mechanics of atoms'], dtype='<U30')
Dimensions without coordinates: title
>>> istitle = da.str.istitle()
>>> istitle
<xarray.DataArray (title: 3)> Size: 3B
array([ True, False, False])
Dimensions without coordinates: title
```

<div id="f1fd599d-67d5-4e98-82a3-0e8ebb34d2a2" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('28795f0b-06a8-4730-ac4b-3d899d3371ea','f1fd599d-67d5-4e98-82a3-0e8ebb34d2a2')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('28795f0b-06a8-4730-ac4b-3d899d3371ea','f1fd599d-67d5-4e98-82a3-0e8ebb34d2a2')">Open In Tab</button></div><div id="56a245d2-95dd-47da-b01a-43f198887456" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
