I have a dataframe as follows:
PLEASE_REMOVE 2013 2014 2015
THIS_IS_EASY
-------------------------------
Bob 0 3 4
Mary 2 3 6
The years (2013, 2014, 2015) are the column index labels. The names (Mary, Bob) are the row index labels.
I have somehow managed to get labels for the row indices and column indices.
Using df.index.names = ['']
I can remove the THIS_IS_EASY bit.
How can I remove the PLEASE_REMOVE bit?
Desired output is:
2013 2014 2015
-------------------------------
Bob 0 3 4
Mary 2 3 6