rename rows pandas based on condiions

Solutions on MaxInterview for rename rows pandas based on condiions by the best coders in the world

showing results for - "rename rows pandas based on condiions"
Montserrat
26 Feb 2019
1df.loc[(df.Event == 'Dance'),'Event']='Hip-Hop'
2df
3