Skip to content

Commit 966035b

Browse files
ZhuBaohejreback
authored andcommitted
DOC: correct Period.strftime exsample (#19758)
1 parent 02b59b6 commit 966035b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/period.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ cdef class _Period(object):
14031403
Examples
14041404
--------
14051405
1406-
>>> a = Period(freq='Q@JUL', year=2006, quarter=1)
1406+
>>> a = Period(freq='Q-JUL', year=2006, quarter=1)
14071407
>>> a.strftime('%F-Q%q')
14081408
'2006-Q1'
14091409
>>> # Output the last month in the quarter of this date

0 commit comments

Comments
 (0)