File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -9309,17 +9309,15 @@ def resample(
9309
9309
bucket ``2000-01-01 00:03:00`` contains the value 3, but the summed
9310
9310
value in the resampled bucket with the label ``2000-01-01 00:03:00``
9311
9311
does not include 3 (if it did, the summed value would be 6, not 3).
9312
- To include this value close the right side of the bin interval as
9313
- illustrated in the example below this one.
9314
9312
9315
9313
>>> series.resample('3min', label='right').sum()
9316
9314
2000-01-01 00:03:00 3
9317
9315
2000-01-01 00:06:00 12
9318
9316
2000-01-01 00:09:00 21
9319
9317
Freq: 3min, dtype: int64
9320
9318
9321
- Downsample the series into 3 minute bins as above, but close the right
9322
- side of the bin interval .
9319
+ To include this value close the right side of the bin interval,
9320
+ as shown below .
9323
9321
9324
9322
>>> series.resample('3min', label='right', closed='right').sum()
9325
9323
2000-01-01 00:00:00 0
You can’t perform that action at this time.
0 commit comments