# xarray.core.accessor_str.StringAccessor.lower

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

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('c6d6e618-b564-49d0-aa63-c5b2b547f802','9c184c25-0a01-413d-bfb7-c5cf93c967a2','3f825e43-0164-4dd2-8142-e78e395713ff','../lite/tree/../notebooks/index.html?path=936c77ff_a8ff_4a68_81ea_fbca3c1812d7.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="3f825e43-0164-4dd2-8142-e78e395713ff" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('c6d6e618-b564-49d0-aa63-c5b2b547f802','3f825e43-0164-4dd2-8142-e78e395713ff')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('c6d6e618-b564-49d0-aa63-c5b2b547f802','3f825e43-0164-4dd2-8142-e78e395713ff')">Open In Tab</button></div><div id="9c184c25-0a01-413d-bfb7-c5cf93c967a2" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
