In the picture below, assume the table on the right is a pandas dataframe. I would like to randomly distribute each item in the dataframe between groups A, B, and C.
The