Crie arquivo CSV vazio no Python
import pandas as pd
df = pd.DataFrame(list())
df.to_csv('empty_csv.csv')
Charming Cobra
import pandas as pd
df = pd.DataFrame(list())
df.to_csv('empty_csv.csv')