Skip to content

Commit a3f20c7

Browse files
Update content/xarray.rst
Co-authored-by: Marijn van Vliet <[email protected]>
1 parent cd63b31 commit a3f20c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/xarray.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ We can still access the same data by index using the ``.isel()`` method: ::
203203
Grib1_Level_Desc: Isobaric surface
204204

205205

206-
Xarray also provides a wide range of aggregation methods such as ``sum()``, ``mean()``, ``median()``, ``min()``, and ``max()``. We can use these methods to aggregate data over one or multiple dimensions: ::
206+
A ``DataArray`` provides a lot of the functionality we expect from Numpy arrays, such as ``sum()``, ``mean()``, ``median()``, ``min()``, and ``max()`` that we can use these methods to aggregate data over one or multiple dimensions: ::
207207

208208
>>> # Calculate the mean over the 'isobaric1' dimension
209209
>>> ds['Temperature_isobaric'].mean(dim='isobaric1')

0 commit comments

Comments
 (0)