The purpose of my code is to delete a column that doesn't have a header, which Python calls "Unamed 12". In the print df command you can see that the column is dropped but when I look at my file it is still there. How can I get the code to drop the column form the file?
Import pandas as pd
df = pd.read_csv('Test.csv')
df.drop (['Unamed: 12'], axis = 1, inplace = True
print (df)