Export table (in pd.DataFrame) to csv - Python format

0

Are you okay?

How to export or save a table made with pandas.DataFrame in csv or xlsx format in Python?

    
asked by anonymous 06.02.2018 / 11:49

1 answer

0

Example of the Pandas.DataFrame documentation:

 writer = pd.ExcelWriter('output.xlsx')
 df1.to_excel(writer,'Sheet1')
 df2.to_excel(writer,'Sheet2')
 writer.save()

Panda Documentation

    
21.05.2018 / 20:26