Timestamp.toordinal()
Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.
© 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.25.0/reference/api/pandas.Timestamp.toordinal.html