I created a dataframe and column labels in pandas and I need to edit in order to replace the original column labels. I want to change the column names in a dataframe Q, and my original column names are:
['$q', '$w', '$e', '$r', '$t']
to
['q', 'w', 'e', 'r', 't'].
All my column names are there in a list, and I don't have any idea how to replace the column names. Please help?