# xarray.core.accessor_str.StringAccessor.isupper

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

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('4612519e-9e2f-45d4-9b04-60cd8ce4ff1a','74514aed-2e3f-4242-aff9-00e62982b690','f0a34677-5499-4c97-89b2-9378663cb72c','../lite/tree/../notebooks/index.html?path=f7918485_39c6_4d7e_a75a_1a2886fe0e46.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="f0a34677-5499-4c97-89b2-9378663cb72c" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('4612519e-9e2f-45d4-9b04-60cd8ce4ff1a','f0a34677-5499-4c97-89b2-9378663cb72c')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('4612519e-9e2f-45d4-9b04-60cd8ce4ff1a','f0a34677-5499-4c97-89b2-9378663cb72c')">Open In Tab</button></div><div id="74514aed-2e3f-4242-aff9-00e62982b690" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
