As in:
data = data.replace(['a', 'b', 'c'], [0, 1, 2])
Given 'a' replace with 0. Given 'b' replace with 1. Given 'c' replace with 2.
I see there is ways to do it with regex, but I want to know if I can do it something like the above.
Currently it's failing, because it thinks I'm trying to replace a list with a list.