title: print the unique values in every column in a pandas dataframe
body: <p>I have a dataframe (df) and want to print the unique values from each column in the dataframe.</p>
  
  <p>I need to substitute the variable (i) [column name] into the print statement</p>
  
  <pre><code>column_list = df.columns.values.tolist()
  for column_name in column_list:
      print(df."[column_name]".unique()
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>When I use this: I get <strong>"Unexpected EOF Parsing"</strong> with no extra details.</p>
  
  <pre><code>column_list = sorted_data.columns.values.tolist()
  for column_name in column_list:
        print(sorted_data[column_name].unique()
  </code></pre>
  
  <p>What is the difference between your syntax YS-L (above) and the below:</p>
  
  <pre><code>for column_name in sorted_data:
        print(column_name)
        s = sorted_data[column_name].unique()
        for i in s:
          print(str(i))
  </code></pre>