pd.DataFrame({'date': pd.date_range(start_ts, freq='1S', periods=10 ** 7)}
    ).to_csv('d:/temp/10m.csv', index=False)
dt_parser = lambda x: pd.to_datetime(x, format='%Y-%m-%d %H:%M:%S')
Parsing large amount of dates with pandas - scalability - performance drops faster than linear