S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to convert a DataFrame to a CSV file?

  • (A) to_csv()
  • (B) write_csv()
  • (C) save_csv()
  • (D) export_csv()
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
to_csv() writes a DataFrame to a CSV file, optionally including the index or header.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics