@@ -1096,6 +1096,13 @@ def prod(
1096
1096
Series or DataFrame
1097
1097
Computed prod of values within each group.
1098
1098
1099
+ See Also
1100
+ --------
1101
+ core.resample.Resampler.sum : Compute sum of groups, excluding missing values.
1102
+ core.resample.Resampler.mean : Compute mean of groups, excluding missing values.
1103
+ core.resample.Resampler.median : Compute median of groups, excluding missing
1104
+ values.
1105
+
1099
1106
Examples
1100
1107
--------
1101
1108
>>> ser = pd.Series(
@@ -1126,9 +1133,30 @@ def min(
1126
1133
"""
1127
1134
Compute min value of group.
1128
1135
1136
+ Parameters
1137
+ ----------
1138
+ numeric_only : bool, default False
1139
+ Include only float, int, boolean columns.
1140
+
1141
+ .. versionchanged:: 2.0.0
1142
+
1143
+ numeric_only no longer accepts ``None``.
1144
+
1145
+ min_count : int, default 0
1146
+ The required number of valid values to perform the operation. If fewer
1147
+ than ``min_count`` non-NA values are present the result will be NA.
1148
+
1129
1149
Returns
1130
1150
-------
1131
1151
Series or DataFrame
1152
+ Compute the minimum value in the given Series or DataFrame.
1153
+
1154
+ See Also
1155
+ --------
1156
+ core.resample.Resampler.max : Compute max value of group.
1157
+ core.resample.Resampler.mean : Compute mean of groups, excluding missing values.
1158
+ core.resample.Resampler.median : Compute median of groups, excluding missing
1159
+ values.
1132
1160
1133
1161
Examples
1134
1162
--------
@@ -1160,9 +1188,30 @@ def max(
1160
1188
"""
1161
1189
Compute max value of group.
1162
1190
1191
+ Parameters
1192
+ ----------
1193
+ numeric_only : bool, default False
1194
+ Include only float, int, boolean columns.
1195
+
1196
+ .. versionchanged:: 2.0.0
1197
+
1198
+ numeric_only no longer accepts ``None``.
1199
+
1200
+ min_count : int, default 0
1201
+ The required number of valid values to perform the operation. If fewer
1202
+ than ``min_count`` non-NA values are present the result will be NA.
1203
+
1163
1204
Returns
1164
1205
-------
1165
1206
Series or DataFrame
1207
+ Computes the maximum value in the given Series or Dataframe.
1208
+
1209
+ See Also
1210
+ --------
1211
+ core.resample.Resampler.min : Compute min value of group.
1212
+ core.resample.Resampler.mean : Compute mean of groups, excluding missing values.
1213
+ core.resample.Resampler.median : Compute median of groups, excluding missing
1214
+ values.
1166
1215
1167
1216
Examples
1168
1217
--------
@@ -1236,6 +1285,16 @@ def mean(
1236
1285
DataFrame or Series
1237
1286
Mean of values within each group.
1238
1287
1288
+ See Also
1289
+ --------
1290
+ core.resample.Resampler.median : Compute median of groups, excluding missing
1291
+ values.
1292
+ core.resample.Resampler.sum : Compute sum of groups, excluding missing values.
1293
+ core.resample.Resampler.std : Compute standard deviation of groups, excluding
1294
+ missing values.
1295
+ core.resample.Resampler.var : Compute variance of groups, excluding missing
1296
+ values.
1297
+
1239
1298
Examples
1240
1299
--------
1241
1300
@@ -1285,6 +1344,14 @@ def std(
1285
1344
DataFrame or Series
1286
1345
Standard deviation of values within each group.
1287
1346
1347
+ See Also
1348
+ --------
1349
+ core.resample.Resampler.mean : Compute mean of groups, excluding missing values.
1350
+ core.resample.Resampler.median : Compute median of groups, excluding missing
1351
+ values.
1352
+ core.resample.Resampler.var : Compute variance of groups, excluding missing
1353
+ values.
1354
+
1288
1355
Examples
1289
1356
--------
1290
1357
@@ -1336,6 +1403,14 @@ def var(
1336
1403
DataFrame or Series
1337
1404
Variance of values within each group.
1338
1405
1406
+ See Also
1407
+ --------
1408
+ core.resample.Resampler.std : Compute standard deviation of groups, excluding
1409
+ missing values.
1410
+ core.resample.Resampler.mean : Compute mean of groups, excluding missing values.
1411
+ core.resample.Resampler.median : Compute median of groups, excluding missing
1412
+ values.
1413
+
1339
1414
Examples
1340
1415
--------
1341
1416
0 commit comments