I have a dataframe extracted from Kaggle's San Fransico Salaries: https://www.kaggle.com/kaggle/sf-salaries and I wish to create a set of the values of a column, for instance 'Status'.
This is what I have tried but it brings a list of all the records instead of the set (sf is how I name the data frame).
a=set(sf['Status'])
print a
According to this webpage, this should work. How to construct a set out of list items in python?