pd.DataFrame({'date': pd.date_range(start_ts, freq='1S', periods=10 ** 6)}
    ).to_csv('d:/temp/1m.csv', index=False)
Parsing large amount of dates with pandas - scalability - performance drops faster than linear