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