# xarray.core.accessor_str.StringAccessor.istitle

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

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('0efd9937-7bab-4b19-bf13-1d2c74b5da7d','50ba93df-6bfe-4033-b313-d0d58d3b0804','2f5040cc-9389-408d-aac3-4c359d6f88f4','../lite/tree/../notebooks/index.html?path=640b184f_8bc4_430d_b55e_9f4b5fc71de9.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="2f5040cc-9389-408d-aac3-4c359d6f88f4" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('0efd9937-7bab-4b19-bf13-1d2c74b5da7d','2f5040cc-9389-408d-aac3-4c359d6f88f4')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('0efd9937-7bab-4b19-bf13-1d2c74b5da7d','2f5040cc-9389-408d-aac3-4c359d6f88f4')">Open In Tab</button></div><div id="50ba93df-6bfe-4033-b313-d0d58d3b0804" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
