If I want to change variable names in a data frame using pandas can I change the names without using pandas.df.rename() function but by using applymap() For example
Registrar Enrolment Agency State District Sub District Pin Code Gender
Allahabad Bank Tera Software Ltd Jharkhand Ranchi Namkum 834003 M
Allahabad Bank Tera Software Ltd Jharkhand Ranchi Ranchi 834004 F
Allahabad Bank Vakrangee Softwares Limited Gujarat Surat Nizar 394380 M
Run Code Online (Sandbox Code Playgroud)
I need to fill spaces in the variable names in the above …