I have dataframe with 80+ columns and column names has special characters like colon, Ampersand, Slash, Minus, space and Parenthesis.
Currently, I'm doing multiple replace on df.columns,
my code as follows:
df.columns = df.columns.str.replace(' ','').str.replace('-','').str.replace('&','').str.replace('/','').str.replace(':','').str.replace('(','').str.replace(')','')
Is there any betters ways to replace all special characters at once on dataframe column names.