CBSE Class 12 Informatics Practices Question 51 of 70

Importing/Exporting Data between CSV Files/MySQL and Pandas — Question 6

Back to all questions
6
Question

Question 6

Write command to store data of DataFrame mdf into a CSV file Mydata.csv, with separator character as '@'.

Answer
mdf.to_csv("Mydata.csv", sep = "@")