Created
May 10, 2020 15:35
-
-
Save spencerkclark/e8f9aed41acd8f524cef38706b3622b5 to your computer and use it in GitHub Desktop.
Thanks for having a look @jswhit -- I only use numpy.timedelta64
here as a conduit to converting an array of integers to an array of datetime.timedelta
objects, and then add those datetime.timedelta
objects to the basedate
(which could be of any calendar type). For that reason I think it should be calendar-agnostic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since this uses numpy datetime64, does it only work for the proleptic gregorian calendar?