# 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('2c51e71b-9086-49f4-8355-546b71f08dd9','cdbfa199-3e6f-42c7-ab6c-25ff880d7f1d','725acffe-ef0d-45b6-981b-ee8d465c5b62','../lite/tree/../notebooks/index.html?path=1f200b88_fc78_4bf4_99a5_d222787a1302.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="725acffe-ef0d-45b6-981b-ee8d465c5b62" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('2c51e71b-9086-49f4-8355-546b71f08dd9','725acffe-ef0d-45b6-981b-ee8d465c5b62')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('2c51e71b-9086-49f4-8355-546b71f08dd9','725acffe-ef0d-45b6-981b-ee8d465c5b62')">Open In Tab</button></div><div id="cdbfa199-3e6f-42c7-ab6c-25ff880d7f1d" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
