Commit 400a6975 authored by Alan Mitchell's avatar Alan Mitchell

Changed column order in CSV file.

parent 60cfc401
......@@ -84,7 +84,7 @@ try:
# are unique.
fn = f'{Path(fname).stem}_{time.time():.3f}.csv'
out_path = data_path / fn
df_final.to_csv(out_path, index=False) # Pandas takes Path's directly
df_final[['id', 'ts', 'val']].to_csv(out_path, index=False) # Pandas takes Path's directly'{len(df_final)} records processed from {fname}')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment