how to call column name with space in python

Solutions on MaxInterview for how to call column name with space in python by the best coders in the world

showing results for - "how to call column name with space in python"
Simone
08 Sep 2018
1df.columns = df.columns.str.strip().str.lower().str.replace(' ', '_').str.replace('(', '').str.replace(')', '')