@@ -5362,9 +5362,13 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
5362
5362
the offset string or object representing target conversion
5363
5363
axis : int, optional, default 0
5364
5364
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'.
5366
5368
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'.
5368
5372
convention : {'start', 'end', 's', 'e'}
5369
5373
For PeriodIndex only, controls whether to use the start or end of
5370
5374
`rule`
@@ -5424,7 +5428,7 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
5424
5428
value in the bucket used as the label is not included in the bucket,
5425
5429
which it labels. For example, in the original series the
5426
5430
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``
5428
5432
does not include 3 (if it did, the summed value would be 6, not 3).
5429
5433
To include this value close the right side of the bin interval as
5430
5434
illustrated in the example below this one.
0 commit comments