pandas.Timestamp.to_period

Timestamp.to_period(self, freq=None)

Return an period of which this timestamp is an observation.