add column `d` to index of dataframe `df`,"df.set_index(['d'], append=True)"