how to replace values in list pyhton excel df code example Example: replace one row with another in python df.loc[(df.Event == 'Dance'),'Event']='Hip-Hop' df