Skip to content

Commit 362a992

Browse files
committed
Resample docstring default values changed
This docstring seems better, since TimeGrouper specifies it [that way][1] too: [1]: https://github.com/pydata/pandas/blob/master/pandas/tseries/resample.py#L27
1 parent 308beb1 commit 362a992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
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'}, default 'left'
235235
Which side of bin interval is closed
236-
label : {'right', 'left'}, default None
236+
label : {'right', 'left'}, default 'left'
237237
Which bin edge label to label bucket with
238238
convention : {'start', 'end', 's', 'e'}
239239
kind: "period"/"timestamp"

0 commit comments

Comments
 (0)