pandas get list of all different values in column code example Example: how to get a list of all values in a column df df['col_val'].tolist()