convert a dataframe column containing list to set code example Example: panda dataframe to list df.values.tolist()