I have the following code to do this, but how can I do it better? Right now I think it\'s better than nested loops, but it starts to get Perl-one-linerish when you have a ge
For completeness, Pandas also has a period_range function for timestamps that are out of bounds:
period_range
import pandas as pd pd.period_range(start='1/1/1626', end='1/08/1627', freq='D')