Was contracted to clean up one of the dirtiest survey datasets I've seen so far. They wanted to convert many freeform text columns into categories, 10 max per column. With over 200 unique values, I had to use a dict and the Series.str.contains method. Real helpful.
0
0
0
35
0