replace space with in pandas

Solutions on MaxInterview for replace space with in pandas by the best coders in the world

showing results for - "replace space with in pandas"
Valeria
02 Oct 2019
1data.columns = data.columns.str.replace(' ','_')