Skip to content

Commit

Permalink
DOC: correct Period.strftime exsample (#19758)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuBaohe authored and jreback committed Feb 19, 2018
1 parent 02b59b6 commit 966035b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/period.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ cdef class _Period(object):
Examples
--------
>>> a = Period(freq='Q@JUL', year=2006, quarter=1)
>>> a = Period(freq='Q-JUL', year=2006, quarter=1)
>>> a.strftime('%F-Q%q')
'2006-Q1'
>>> # Output the last month in the quarter of this date
Expand Down

0 comments on commit 966035b

Please sign in to comment.