pandas
Period.now()
Return the period of now’s date.
Frequency to use for the returned period.
Examples
>>> pd.Period.now('H') Period('2023-06-12 11:00', 'H')
previous
pandas.Period.asfreq
next
pandas.Period.strftime