pandas and NumPy 3 · Grouping and combining

Save to a CSV file

Write the DataFrame to a file without the row index.

df.to_csv("out.csv", index=False)

Official pandas and NumPy 3 documentation

More grouping and combining commands

All grouping and combining commands · pandas and NumPy 3 cheatsheet

Was this page helpful?