Pandy zastępują podłoże w nazwach kolumn

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