python csv writer empty file code example
Example: create empty csv file in python
import pandas as pd
df = pd.DataFrame(list())
df.to_csv('empty_csv.csv')
import pandas as pd
df = pd.DataFrame(list())
df.to_csv('empty_csv.csv')