get distinct values from spark dataframe python