DEV Community

Gaser Mousa
Gaser Mousa

Posted on

Converting DataFrame into CSV

import pandas as pd
df=pd.DataFrame({"Apple":[21]})
df.to_csv('file_name.csv')

Top comments (0)