Question: how to find distinct values in a pandas column?
Answer: If we want the the unique values of the column in pandas data frame as a list, we can easily apply the function tolist() by chaining it to the previous command. If we try the unique function on the 'country' column from the dataframe, the result will be a big numpy array.