total_pd = pd.concat([total_pd,new_pd])
# 按时间排序: total_pd['time'] = pd.to_datetime(total_pd['0'], format='%Y%m%d-%H:%M:%S') total_pd.sort_values(by='time', ascending=True, inplace=True)# print(total_pd[0:10])
total_pd = pd.concat([total_pd,new_pd])
# 按时间排序: total_pd['time'] = pd.to_datetime(total_pd['0'], format='%Y%m%d-%H:%M:%S') total_pd.sort_values(by='time', ascending=True, inplace=True)# print(total_pd[0:10])