sql distinct on one column w3 code example Example: sql distinct #List unique values in the df['name'] column df.name.unique()