is there a way to use lambda or quicker way than a dictionary to recode pandas df column of unique categories into integer buckets like 0, 1, 2, etc?
is there a way to use lambda or quicker way than a dictionary to recode pandas df column of unique categories into integer buckets like 0, 1, 2, etc? Question: Is there a quicker way via lambda or otherwise to recode the every unique value in a pandas df? I am trying to recode this …
Total answers: 3