@@ -5362,9 +5362,13 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
53625362 the offset string or object representing target conversion
53635363 axis : int, optional, default 0
53645364 closed : {'right', 'left'}
5365- Which side of bin interval is closed
5365+ Which side of bin interval is closed. The default is 'left'
5366+ for all frequency offsets except for 'M', 'A', 'Q', 'BM',
5367+ 'BA', 'BQ', and 'W' which all have a default of 'right'.
53665368 label : {'right', 'left'}
5367- Which bin edge label to label bucket with
5369+ Which bin edge label to label bucket with. The default is 'left'
5370+ for all frequency offsets except for 'M', 'A', 'Q', 'BM',
5371+ 'BA', 'BQ', and 'W' which all have a default of 'right'.
53685372 convention : {'start', 'end', 's', 'e'}
53695373 For PeriodIndex only, controls whether to use the start or end of
53705374 `rule`
@@ -5424,7 +5428,7 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
54245428 value in the bucket used as the label is not included in the bucket,
54255429 which it labels. For example, in the original series the
54265430 bucket ``2000-01-01 00:03:00`` contains the value 3, but the summed
5427- value in the resampled bucket with the label``2000-01-01 00:03:00``
5431+ value in the resampled bucket with the label ``2000-01-01 00:03:00``
54285432 does not include 3 (if it did, the summed value would be 6, not 3).
54295433 To include this value close the right side of the bin interval as
54305434 illustrated in the example below this one.
0 commit comments