title: To_CSV unique values of a pandas column
body: <p>When I use the following:</p>
  
  <pre><code>import pandas as pd
  data = pd.read_csv('C:/Users/Z/OneDrive/Python/Exploratory Data/Aramark/ARMK.csv')
  x = data.iloc[:,2]
  y = pd.unique(x)
  y.to_csv('yah.csv')
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>AttributeError: 'numpy.ndarray' object has no attribute 'to_csv'
  </code></pre>