text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

train_df = pd.read_csv('../input/matchesheader.csv')

names_col = list(train_df.columns.values)
new_names_col = map(lambda name: name.strip(), names_col)
train_df.columns = new_names_col

list(train_df.columns.values)