diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 0f4bb16c01a563..d3e9f88272c719 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -1919,7 +1919,6 @@ def shift(self, periods=1, freq=None, axis=0): self.grouper, needs_ngroups=True, nperiods=periods) - @Substitution(name='groupby') @Appender(_doc_template) def head(self, n=5):