PANDAS TO_CSV Tambahkan

# with headers
df.to_csv('my_csv.csv', mode='a')

# without headers
df.to_csv('my_csv.csv', mode='a', header=None)
alequenildo