From 6b2ed08dffd6d7456845b8f9161270eda3c85912 Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Thu, 11 Jul 2024 03:36:06 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Justus Magin --- doc/user-guide/groupby.rst | 2 +- xarray/core/groupers.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/user-guide/groupby.rst b/doc/user-guide/groupby.rst index e4ae3d85e38..783b4f13c2e 100644 --- a/doc/user-guide/groupby.rst +++ b/doc/user-guide/groupby.rst @@ -290,7 +290,7 @@ is identical to ds.groupby(x=BinGrouper(bins)) -; and +and .. code-block:: python diff --git a/xarray/core/groupers.py b/xarray/core/groupers.py index e905280280e..e73ec7ac3f1 100644 --- a/xarray/core/groupers.py +++ b/xarray/core/groupers.py @@ -107,6 +107,7 @@ def factorize(self, group: T_Group) -> EncodedGroups: class Resampler(Grouper): """ Abstract base class for Grouper objects that allow specializing resampling-type GroupBy instructions. + Currently only used for TimeResampler, but could be used for SpaceResampler in the future. """