pandas renumber index code example Example: pandas rename index values df.rename(index={'alpha': 'mu'})