Python | Pandas Quiz | Question 20

Last Updated :
Discuss
Comments

How can you save a Pandas DataFrame to a CSV file?

df.save_csv("filename.csv")

df.write_csv("filename.csv")

df.to_csv("filename.csv")

df.export_csv("filename.csv")

Share your thoughts in the comments