I have a dataframe as follows:
PLEASE_REMOVE 2013 2014 2015 THIS_IS_EASY ------------------------------- Bob 0 3 4 Mary 2
df.columns.name = None
Simply delete the name of the columns:
del df.columns.name
Also, note that df.index.names = [''] is not quite the same as del df.index.name.
df.index.names = ['']
del df.index.name