Answers for "Fixing Messy columns"

0

Fixing Messy columns

df.columns = df.columns.str.strip().str.lower().str.replace(' ', '_').str.replace('(', '').str.replace(')', '')
Posted by: Guest on November-03-2020

Code answers related to "Fixing Messy columns"

Python Answers by Framework

Browse Popular Code Answers by Language