php select unique values from column in database code example Example: sql distinct #List unique values in the df['name'] column df.name.unique()