# xarray.core.accessor_str.StringAccessor.lower

#### StringAccessor.lower()[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/accessor_str.py#L709-L730)

Convert strings in the array to lowercase.

* **Returns:**
  **lowered** (`same type as values`)

### Examples

<div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesShowIframe('2fb455f6-54ec-4bea-a2ab-bec932b79a10','72ce8a08-75cb-4b6d-89a0-91b79109523a','e7f17566-229b-431f-9b11-72f30c956ac7','../lite/tree/../notebooks/index.html?path=73e56900_66b9_4166_a9ab_2c02bc3762f4.ipynb','None')">Try it in your browser!</button></div>
```pycon
>>> da = xr.DataArray(["Temperature", "PRESSURE"], dims="x")
>>> da
<xarray.DataArray (x: 2)> Size: 88B
array(['Temperature', 'PRESSURE'], dtype='<U11')
Dimensions without coordinates: x
>>> lowered = da.str.lower()
>>> lowered
<xarray.DataArray (x: 2)> Size: 88B
array(['temperature', 'pressure'], dtype='<U11')
Dimensions without coordinates: x
```

<div id="e7f17566-229b-431f-9b11-72f30c956ac7" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('2fb455f6-54ec-4bea-a2ab-bec932b79a10','e7f17566-229b-431f-9b11-72f30c956ac7')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('2fb455f6-54ec-4bea-a2ab-bec932b79a10','e7f17566-229b-431f-9b11-72f30c956ac7')">Open In Tab</button></div><div id="72ce8a08-75cb-4b6d-89a0-91b79109523a" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
