Skip to content

Commit 788768a

Browse files
committed
FIX: Small tweaks in docs
1 parent 8ae0caf commit 788768a

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

pandas/core/resample.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,6 @@ def asfreq(self, fill_value=None):
10051005
return self._upsample("asfreq", fill_value=fill_value)
10061006

10071007
@final
1008-
@doc(GroupBy.sum)
10091008
def sum(
10101009
self,
10111010
numeric_only: bool = False,
@@ -1064,7 +1063,6 @@ def sum(
10641063
)
10651064

10661065
@final
1067-
@doc(GroupBy.prod)
10681066
def prod(self, numeric_only: bool = False, min_count: int = 0, skipna: bool = True):
10691067
"""
10701068
Compute prod of group values.
@@ -1111,7 +1109,6 @@ def prod(self, numeric_only: bool = False, min_count: int = 0, skipna: bool = Tr
11111109
)
11121110

11131111
@final
1114-
@doc(GroupBy.min)
11151112
def min(
11161113
self,
11171114
numeric_only: bool = False,
@@ -1156,7 +1153,6 @@ def min(
11561153
)
11571154

11581155
@final
1159-
@doc(GroupBy.max)
11601156
def max(
11611157
self,
11621158
numeric_only: bool = False,
@@ -1234,17 +1230,6 @@ def median(
12341230
return self._downsample("median", numeric_only=numeric_only, skipna=skipna)
12351231

12361232
@final
1237-
@doc(GroupBy.any)
1238-
def any(self, skipna: bool = True):
1239-
return self._downsample("any", skipna=skipna)
1240-
1241-
@final
1242-
@doc(GroupBy.all)
1243-
def all(self, skipna: bool = True):
1244-
return self._downsample("all", skipna=skipna)
1245-
1246-
@final
1247-
@doc(GroupBy.mean)
12481233
def mean(
12491234
self,
12501235
numeric_only: bool = False,
@@ -1298,7 +1283,6 @@ def mean(
12981283
)
12991284

13001285
@final
1301-
@doc(GroupBy.std)
13021286
def std(
13031287
self,
13041288
ddof: int = 1,
@@ -1359,7 +1343,6 @@ def std(
13591343
)
13601344

13611345
@final
1362-
@doc(GroupBy.var)
13631346
def var(
13641347
self,
13651348
ddof: int = 1,

pandas/tests/groupby/test_reductions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ def scipy_sem(*args, **kwargs):
10871087
("median", ["f", "t", "td"]),
10881088
("prod", ["f"]),
10891089
("sem", ["f"]),
1090-
("std", ["f", "t", "td"]),
1090+
("std", ["f"]),
10911091
("var", ["f"]),
10921092
("any", ["f"]),
10931093
("all", ["f"]),

0 commit comments

Comments
 (0)