Skip to content

Commit 0e2e390

Browse files
committed
break lines
1 parent a4e0a39 commit 0e2e390

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7952,7 +7952,7 @@ def resample(
79527952
on=None,
79537953
level=None,
79547954
origin: Union[str, TimestampConvertibleTypes] = "start_day",
7955-
backward: Optional[bool] = None,
7955+
backward: Optional[bool_t] = None,
79567956
offset: Optional[TimedeltaConvertibleTypes] = None,
79577957
) -> Resampler:
79587958
"""
@@ -8008,7 +8008,7 @@ def resample(
80088008
level : str or int, optional
80098009
For a MultiIndex, level (name or number) to use for
80108010
resampling. `level` must be datetime-like.
8011-
origin : {'epoch', 'start', 'start_day', 'end', 'end_day'}, Timestamp
8011+
origin : {'epoch', 'start', 'start_day', 'end', 'end_day'}, Timestamp \
80128012
or str, default 'start_day'
80138013
The timestamp on which to adjust the grouping. The timezone of origin
80148014
must match the timezone of the index.

pandas/core/groupby/grouper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Grouper:
8383
However, loffset is also deprecated for ``.resample(...)``
8484
See: :class:`DataFrame.resample`
8585
86-
origin : {'epoch', 'start', 'start_day', 'end', 'end_day'}, Timestamp
86+
origin : {'epoch', 'start', 'start_day', 'end', 'end_day'}, Timestamp \
8787
or str, default 'start_day'
8888
The timestamp on which to adjust the grouping. The timezone of origin
8989
must match the timezone of the index.

pandas/core/resample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ def __init__(
13661366
convention: Optional[str] = None,
13671367
base: Optional[int] = None,
13681368
origin: Union[str, TimestampConvertibleTypes] = "start_day",
1369-
backward: Optional[bool] = None,
1369+
backward: Optional[bool_t] = None,
13701370
offset: Optional[TimedeltaConvertibleTypes] = None,
13711371
**kwargs,
13721372
):

0 commit comments

Comments
 (0)