# 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('0ced2ddb-08e5-4f34-8bb5-9d1c481bad10','dd06a676-ceaa-46bd-81bc-53a3cf1c5965','1e6811bd-9607-45e6-9146-7a73036e0c96','../lite/tree/../notebooks/index.html?path=31529d95_18fb_4a37_b97a_87512c314381.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="1e6811bd-9607-45e6-9146-7a73036e0c96" class="try_examples_outer_iframe  hidden"><div class="try_examples_button_container"><button class="try_examples_button" onclick="window.tryExamplesHideIframe('0ced2ddb-08e5-4f34-8bb5-9d1c481bad10','1e6811bd-9607-45e6-9146-7a73036e0c96')">Go Back</button><button class="try_examples_button" onclick="window.openInNewTab('0ced2ddb-08e5-4f34-8bb5-9d1c481bad10','1e6811bd-9607-45e6-9146-7a73036e0c96')">Open In Tab</button></div><div id="dd06a676-ceaa-46bd-81bc-53a3cf1c5965" class="jupyterlite_sphinx_iframe_container"></div></div><script>document.addEventListener("DOMContentLoaded", function() {window.loadTryExamplesConfig("../try_examples.json");});</script>
