Published
- 1 min read
pandas write to csv without first line
The solution for this is noted below
pandas write to csv without first line
Solution
df1.to_csv('output.csv', index=False, header=None)
Try other methods by searching on the site. That is if this doesn’t work