I have a dataframe and am trying to set the index to the column \'Timestamp\'. Currently the index is just a row number. An example of Timestamp\'s format is: 2015-0
You need to either specify inplace=True, or assign the result to a variable. Try:
inplace=True
df.set_index('Timestamp', inplace=True, drop=True)