I can't seem to rename my columns in a dataframe.
I tried this:  df2.columns['Rating','Spread','Cnt']
When I look at the dataframe, the Cnt is not there.
I also tried this: df2.rename(columns={'Rating','Spread','Cnt'}, inplace=True)
Again, after I run the script, the Cnt doesn't show up.  All I have is the first two field names; the third one keeps dropping off.  How can I fix this?
 
     
     
     
    