Informatics Practices
Write command to store data of DataFrame mdf into a CSV file Mydata.csv, with separator character as '@'.
Python Pandas
3 Likes
Answer
mdf.to_csv("Mydata.csv", sep = "@")
Answered By
1 Like
Related Questions
By default, read_csv() uses the values of first row as column headers in DataFrames. Which argument will you give to ensure that the top/first row's data is used as data and not as column headers ?
Which argument would you give to read_csv() if you only want to read top 10 rows of data ?
Why do you need connection to an SQL database in order to get data from a table ?
What is pymysql library of Python ?