Skip to content

Commit bb68945

Browse files
author
y-p
committed
Merge pull request #3085 from kermit666/patch-3
Resample docstring default values changed
2 parents 26ce98f + 5b5973f commit bb68945

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ def resample(self, rule, how=None, axis=0, fill_method=None,
231231
downsampling
232232
axis : int, optional, default 0
233233
fill_method : string, fill_method for upsampling, default None
234-
closed : {'right', 'left'}, default None
234+
closed : {'right', 'left'}
235235
Which side of bin interval is closed
236-
label : {'right', 'left'}, default None
236+
label : {'right', 'left'}
237237
Which bin edge label to label bucket with
238238
convention : {'start', 'end', 's', 'e'}
239239
kind: "period"/"timestamp"

pandas/tseries/resample.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class TimeGrouper(CustomGrouper):
2424
Parameters
2525
----------
2626
freq : pandas date offset or offset alias for identifying bin edges
27-
closed : closed end of interval; left (default) or right
28-
label : interval boundary to use for labeling; left (default) or right
27+
closed : closed end of interval; left or right
28+
label : interval boundary to use for labeling; left or right
2929
nperiods : optional, integer
3030
convention : {'start', 'end', 'e', 's'}
3131
If axis is PeriodIndex

0 commit comments

Comments
 (0)