Closed ua-chjb closed 1 year ago
Hi - please post a reproducible example, see
https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
for how
Also, please don't post screenshots as they're not searchable https://youtu.be/svlsnZFWWDE
Actually, let's try again 😄 Please open a new issue, and don't skip the template this time
I have a list of dataframes, df1,df2 ... df6. I want to rename all columns in these dataframes in the same way. However, when I run through it with a for list, the columns are not changed.
Here is my before dataframe:
My code:
And my after dataframe:
They column names are exactly the same. Can anyone tell me why df.rename isn't working?