Pandas ersetzen Spaltenname -Räume durch Unterstriche
import pandas as pd
# remove spaces in columns name
df.columns = df.columns.str.replace(' ','_')
regexp27
import pandas as pd
# remove spaces in columns name
df.columns = df.columns.str.replace(' ','_')
dataframe.columns = list(map(lambda x: x.replace(' ', '_'),
dataframe.columns))