xxxxxxxxxx
# value_counts shows distribution of data in a column
df['country'].value_counts()
# Shows distribution of data proportion in a column
df['country'].value_counts(normalize = True)
# Extract the list of index / keys from the distribution
values = df['country'].value_counts().keys().tolist()
# Extract the list of values from the distribution
counts = df['country'].value_counts().tolist()