Snippet 1
import pandas as pd
# remove spaces in columns name
df.columns = df.columns.str.replace(' ','_')
Copyright © Code Fetcher 2020
Snippet 1
import pandas as pd
# remove spaces in columns name
df.columns = df.columns.str.replace(' ','_')
Copyright © Code Fetcher 2020