Question : remove whitespace from column values
Answered by : troubled-thrush-pe4f6wwe6na5
# Delete any Whitespaces within the Column Names:
# Remove Spaces at the beginning and at the end of Column Name:
dete_survey_updated.columns = dete_survey_updated.columns.str.strip()
Source : | Last Update : Mon, 19 Apr 21