# Save to CSV xtool.write_csv(df, 'output.csv')