Answers for "how to save a csv in python"

3

download dataframe as csv

df.to_csv(r'Path where you want to store the exported CSV fileFile Name.csv')
Posted by: Guest on July-19-2020
1

python save as csv

import numpy as np
np.savetxt('data.csv', (col1_array, col2_array, col3_array), delimiter=',')
Posted by: Guest on February-07-2020

Browse Popular Code Answers by Language