Can anyone please check for me what's wrong with my renaming command. It changes nothing on the csv file. The code that i have tried below renaming header.
df = pandas.read_csv('C:/JIRA Excel File.csv')
df.rename(columns=({'Custom field (Implemented Date)':'Custom field (Verified Date)'}))
df.set_index('Custom field (Verified Date)').to_csv("C:/JIRA Excel File/Done.csv", index=None)
I want column Custom field (Implemented Date) CHANGE to Custom field (verified Date), but the column still doesn't change.
Original CSV.file
Now the KeyError: 'Custom field (Implemented Date)' is not execute anymore. Just after I run this code.
The output will display as below.