Skip to content

Fix typo in doc: pandas.tseries.offset -> pandas.tseries.offsets #43754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pandas/_libs/tslibs/offsets.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ cdef class BYearBegin(YearOffset):

Examples
--------
>>> from pandas.tseries.offset import BYearBegin
>>> from pandas.tseries.offsets import BYearBegin
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
>>> ts + BYearBegin()
Timestamp('2021-01-01 05:01:15')
Expand Down Expand Up @@ -2090,7 +2090,7 @@ cdef class BQuarterEnd(QuarterOffset):

Examples
--------
>>> from pandas.tseries.offset import BQuarterEnd
>>> from pandas.tseries.offsets import BQuarterEnd
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
>>> ts + BQuarterEnd()
Timestamp('2020-06-30 05:01:15')
Expand Down Expand Up @@ -2118,7 +2118,7 @@ cdef class BQuarterBegin(QuarterOffset):

Examples
--------
>>> from pandas.tseries.offset import BQuarterBegin
>>> from pandas.tseries.offsets import BQuarterBegin
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
>>> ts + BQuarterBegin()
Timestamp('2020-06-01 05:01:15')
Expand Down Expand Up @@ -2228,7 +2228,7 @@ cdef class BusinessMonthEnd(MonthOffset):

Examples
--------
>>> from pandas.tseries.offset import BMonthEnd
>>> from pandas.tseries.offsets import BMonthEnd
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
>>> ts + BMonthEnd()
Timestamp('2020-05-29 05:01:15')
Expand All @@ -2247,7 +2247,7 @@ cdef class BusinessMonthBegin(MonthOffset):

Examples
--------
>>> from pandas.tseries.offset import BMonthBegin
>>> from pandas.tseries.offsets import BMonthBegin
>>> ts=pd.Timestamp('2020-05-24 05:01:15')
>>> ts + BMonthBegin()
Timestamp('2020-06-01 05:01:15')
Expand Down