pandas.Timestamp.fromordinal
-
classmethod Timestamp.fromordinal()
-
passed an ordinal, translate and convert to a ts note: by definition there cannot be any tz info on the ordinal itself
Parameters: ordinal : int
date corresponding to a proleptic Gregorian ordinal
freq : str, DateOffset
Offset which Timestamp will have
tz : string, pytz.timezone, dateutil.tz.tzfile or None
Time zone for time which Timestamp will have.
offset : str, DateOffset
Deprecated, use freq
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Timestamp.fromordinal.html