Considering a simple df:
HeaderA | HeaderB | HeaderC 
    476      4365      457
Is there a way to rename all columns, for example to add to all columns an "X" in the end?
HeaderAX | HeaderBX | HeaderCX 
    476      4365      457
I am concatenating multiple dataframes and want to easily differentiate the columns dependent on which dataset they came from.
Or is this the only way?
df.rename(columns={'HeaderA': 'HeaderAX'}, inplace=True)
I have over 50 column headers and ten files; so the above approach will take a long time.
Thank You
 
     
     
     
     
     
    