Skip to content

Commit 5d21d13

Browse files
Fix typo in doc: pandas.tseries.offset -> pandas.tseries.offsets (#43754)
1 parent d09e3c8 commit 5d21d13

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/_libs/tslibs/offsets.pyx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1955,7 +1955,7 @@ cdef class BYearBegin(YearOffset):
19551955
19561956
Examples
19571957
--------
1958-
>>> from pandas.tseries.offset import BYearBegin
1958+
>>> from pandas.tseries.offsets import BYearBegin
19591959
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
19601960
>>> ts + BYearBegin()
19611961
Timestamp('2021-01-01 05:01:15')
@@ -2090,7 +2090,7 @@ cdef class BQuarterEnd(QuarterOffset):
20902090
20912091
Examples
20922092
--------
2093-
>>> from pandas.tseries.offset import BQuarterEnd
2093+
>>> from pandas.tseries.offsets import BQuarterEnd
20942094
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
20952095
>>> ts + BQuarterEnd()
20962096
Timestamp('2020-06-30 05:01:15')
@@ -2118,7 +2118,7 @@ cdef class BQuarterBegin(QuarterOffset):
21182118
21192119
Examples
21202120
--------
2121-
>>> from pandas.tseries.offset import BQuarterBegin
2121+
>>> from pandas.tseries.offsets import BQuarterBegin
21222122
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
21232123
>>> ts + BQuarterBegin()
21242124
Timestamp('2020-06-01 05:01:15')
@@ -2228,7 +2228,7 @@ cdef class BusinessMonthEnd(MonthOffset):
22282228
22292229
Examples
22302230
--------
2231-
>>> from pandas.tseries.offset import BMonthEnd
2231+
>>> from pandas.tseries.offsets import BMonthEnd
22322232
>>> ts = pd.Timestamp('2020-05-24 05:01:15')
22332233
>>> ts + BMonthEnd()
22342234
Timestamp('2020-05-29 05:01:15')
@@ -2247,7 +2247,7 @@ cdef class BusinessMonthBegin(MonthOffset):
22472247
22482248
Examples
22492249
--------
2250-
>>> from pandas.tseries.offset import BMonthBegin
2250+
>>> from pandas.tseries.offsets import BMonthBegin
22512251
>>> ts=pd.Timestamp('2020-05-24 05:01:15')
22522252
>>> ts + BMonthBegin()
22532253
Timestamp('2020-06-01 05:01:15')

0 commit comments

Comments
 (0)