Skip to content

Commit 76019ed

Browse files
committed
Update doctest
1 parent 7133b42 commit 76019ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xarray/core/dataarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6785,8 +6785,8 @@ def groupby(
67856785
67866786
>>> da.groupby("letters").sum()
67876787
<xarray.DataArray (letters: 2, y: 3)> Size: 48B
6788-
array([[ 9., 11., 13.],
6789-
[ 9., 11., 13.]])
6788+
array([[ 9, 11, 13],
6789+
[ 9, 11, 13]])
67906790
Coordinates:
67916791
* letters (letters) object 16B 'a' 'b'
67926792
Dimensions without coordinates: y

xarray/core/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10387,7 +10387,7 @@ def groupby(
1038710387
* letters (letters) object 16B 'a' 'b'
1038810388
Dimensions without coordinates: y
1038910389
Data variables:
10390-
foo (letters, y) float64 48B 9.0 11.0 13.0 9.0 11.0 13.0
10390+
foo (letters, y) int64 48B 9 11 13 9 11 13
1039110391
1039210392
Grouping by multiple variables
1039310393

0 commit comments

Comments
 (0)