Pandas ersetzen Substring in Spaltennamen

df.columns = df.columns.astype(str).str.replace("[()]", "_")
rudythealchemist