Skip to content

Commit 9e8794c

Browse files
ZhuBaoheharisbal
authored and
harisbal
committed
DOC: correct Period.strftime exsample (pandas-dev#19758)
1 parent e9bb374 commit 9e8794c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/period.pyx

Lines changed: 1 addition & 1 deletion
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)