Answers for "change all the cloumns string at once pandas"

0

pandas replace substring in column names

df.columns = df.columns.astype(str).str.replace("[()]", "_")
Posted by: Guest on July-25-2021

Code answers related to "change all the cloumns string at once pandas"

Python Answers by Framework

Browse Popular Code Answers by Language