Pandy zastępują podłoże w nazwach kolumn
df.columns = df.columns.astype(str).str.replace("[()]", "_")
rudythealchemist
df.columns = df.columns.astype(str).str.replace("[()]", "_")