variable keys reverted since the dataframe keys have not changed