# xarray.core.accessor_str.StringAccessor.isupper

#### StringAccessor.isupper()[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/accessor_str.py#L1085-L1108)

Check whether all characters in each string are uppercase.

* **Returns:**
  **isupper** ([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('bb027401-23c7-44cd-b5a7-3391a1328ff6','01f7c6ea-580c-46bb-8d3a-2cab4af3ec14','22e4546f-deee-42bb-a439-ca26933ff299','../lite/tree/../notebooks/index.html?path=ca8767b3_7522_4a80_a91e_0027dfd24120.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> da = xr.DataArray(["TEMPERATURE", "humidity", "PreCIpiTAtioN"], dims="x")
>>> da
<xarray.DataArray (x: 3)> Size: 156B
array(['TEMPERATURE', 'humidity', 'PreCIpiTAtioN'], dtype='<U13')
Dimensions without coordinates: x
>>> isupper = da.str.isupper()
>>> isupper
<xarray.DataArray (x: 3)> Size: 3B
array([ True, False, False])
Dimensions without coordinates: x
```

<div id="22e4546f-deee-42bb-a439-ca26933ff299" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('bb027401-23c7-44cd-b5a7-3391a1328ff6','22e4546f-deee-42bb-a439-ca26933ff299')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('bb027401-23c7-44cd-b5a7-3391a1328ff6','22e4546f-deee-42bb-a439-ca26933ff299')">Open In Tab</button></div><div id="01f7c6ea-580c-46bb-8d3a-2cab4af3ec14" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
