Skip to content

Commit 390863a

Browse files
committed
fix docstring
1 parent 75115d0 commit 390863a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xarray/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ def shuffle_by(
895895
Array whose unique values should be used to group this array. If a
896896
Hashable, must be the name of a coordinate contained in this dataarray. If a dictionary,
897897
must map an existing variable name to a :py:class:`Grouper` instance.
898-
chunks : int, tuple of int, "auto" or mapping of hashable to int or a TimeResampler, optional
898+
chunks : int, tuple of int, "auto" or mapping of hashable to int or tuple of int, optional
899899
How to adjust chunks along dimensions not present in the array being grouped by.
900900
**groupers : Grouper
901901
Grouper objects using which to shuffle the data.

xarray/core/groupby.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ def shuffle(self, chunks: T_Chunks = None) -> Self:
531531
532532
Parameters
533533
----------
534-
chunks : int, tuple of int, "auto" or mapping of hashable to int or a TimeResampler, optional
534+
chunks : int, tuple of int, "auto" or mapping of hashable to int or tuple of int, optional
535535
How to adjust chunks along dimensions not present in the array being grouped by.
536536
537537
Returns
@@ -557,7 +557,7 @@ def shuffle(self, chunks: T_Chunks = None) -> Self:
557557
558558
See Also
559559
--------
560-
dask.dataframe.shuffle
560+
dask.dataframe.DataFrame.shuffle
561561
dask.array.shuffle
562562
"""
563563
(grouper,) = self.groupers

0 commit comments

Comments
 (0)