# xarray.DataArray.str.isupper

#### DataArray.str.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('ffe9bf72-50d3-4379-8896-a9aabf7d985a','e2bef923-1474-4c3f-a6f6-3aeec7856abc','8e8919fa-246f-4384-9d5f-f6025d03e247','../lite/tree/../notebooks/index.html?path=e005e2e1_fb62_4b31_a31c_690e076d39c0.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="8e8919fa-246f-4384-9d5f-f6025d03e247" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('ffe9bf72-50d3-4379-8896-a9aabf7d985a','8e8919fa-246f-4384-9d5f-f6025d03e247')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('ffe9bf72-50d3-4379-8896-a9aabf7d985a','8e8919fa-246f-4384-9d5f-f6025d03e247')">Open In Tab</button></div><div id="e2bef923-1474-4c3f-a6f6-3aeec7856abc" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
