So I have a dataframe like this
customer location trip_len
0 a ['1', '2', '3'] 3
1 b ['4', '5'] 2
And I am trying to hash, for every row, every element on the list of strings on the column 'location' in order to improve efficiency in my model. How would this be possible?