From 0dc7e0508f4ec599edea9054f42fedaa121352e3 Mon Sep 17 00:00:00 2001 From: Digres Sawale Date: Sun, 26 Sep 2021 15:10:33 +0530 Subject: [PATCH] Fixing Typo in BYearEnd example --- pandas/_libs/tslibs/offsets.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 4c9b681452c0a..4755822b8ebea 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -1929,7 +1929,7 @@ cdef class BYearEnd(YearOffset): Examples -------- - >>> from pandas.tseries.offset import BYearEnd + >>> from pandas.tseries.offsets import BYearEnd >>> ts = pd.Timestamp('2020-05-24 05:01:15') >>> ts - BYearEnd() Timestamp('2019-12-31 05:01:15')