import numpy as np
date = ['20210912', '20210922', '20211009', '20211102']
new_date = []
for i in range(100):
new_date.extend(date)
new_data = []
for i in range(400):
new_data.append(np.random.random(1))
data = pd.DataFrame(columns=['date', 'data'])
data['date'] = np.array(new_date)
data['data'] = np.array(new_data)
data.to_csv('./lyx_data.txt', sep=',', index=None)