pandas.Timestamp.to_period — pandas 1.0.5 documentation (original) (raw)

Timestamp. to_period(self, freq=None)

Return an period of which this timestamp is an observation.