Replace values in a DataFrame column based on a Dict of corresponding values

A couple of other options were discussed recently here

1 Like