how to replace sets of values in lists in column in pandas code example
Example 1: replace one row with another in python
df.loc[(df.Event == 'Dance'),'Event']='Hip-Hop'
df
Example 2: dataframe loc change values
%timeit df.at['Bill', 'language'] = 'Python'