3 ms·
Not trying to trash it, but doing dt = timedelta(days=1) outside the loop and using it inside would make it a bit more efficient.
by mkl 7y ago
Not trying to trash it, but doing
dt = timedelta(days=1)
outside the loop and using it inside would make it a bit more efficient.