Create a set from a series in pandas
<p>I have a dataframe extracted from Kaggle's San Fransico Salaries: <a href="https://www.kaggle.com/kaggle/sf-salaries" rel="noreferrer">https://www.kaggle.com/kaggle/sf-salaries</a>
and I wish to create a set of the values of a column, for instance 'Status'.</p>

<p>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).</p>

<pre><code>a=set(sf['Status'])
print a
</code></pre>

<p>According to this webpage, this should work.
<a href="https://stackoverflow.com/questions/15768757/how-to-construct-a-set-out-of-list-items">How to construct a set out of list items in python?</a></p>