I want to delete only the first row (not the headers) of a CSV using Python.
I have tried many solutions using the csv module or pandas but nothing have worked for me yet. All the solutions either printed out the csv and didn't modify the original file.
And importantly, I do not want to print out or skip/ignore the first line, I want to delete it and save it to the original file, not creating another file.
df = pd.read_csv(...,skiprows=1);df.to_csv('new_file.csv',index=False)?