create empty csv file in python

48

create empty csv file in python -

import pandas as pd
df = pd.DataFrame(list())
df.to_csv('empty_csv.csv')

Comments

Submit
0 Comments