title: Seaborn KDE visualisation, value error on dataset
body: <p>I am attempting to visualise a KDE plot in Seaborn, but am encountering an error on entering data.
  The data is a set of scores ranging from 1-13 and is in the form of a numpy array.</p>
  <p>Below is the section of code I'm using.</p>
  <pre><code>query_CNM = 'SELECT SCORE from CNMATCH LIMIT 2000'
  
  df = pd.read_sql(query_CNM, conn, index_col = None)
  
  yy = np.array(df)
  
  plot = sns.kdeplot(yy)
  
  </code></pre>
  <p>Below is the full error that I'm receiving.</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py&quot;, line 1758, in &lt;module&gt;
      main()
    File &quot;/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py&quot;, line 1752, in main
      globals = debugger.run(setup['file'], None, None, is_module)
    File &quot;/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py&quot;, line 1147, in run
      pydev_imports.execfile(file, globals, locals)  # execute the script
    File &quot;/Users/uni/Desktop/Proof_Of_Concept/PYQTKDE.py&quot;, line 66, in &lt;module&gt;
      plot = sns.kdeplot(yy)
    File &quot;/Users/uni/.conda/envs/fing.py/lib/python2.7/site-packages/seaborn/distributions.py&quot;, line 664, in kdeplot
      x, y = data.T
  ValueError: need more than 1 value to unpack
  </code></pre>
  <p>I can't seem to find exactly how the data needs to be formatted for sea-born in order to fit a KDE, if any insights can be provided on this it would be greatly appreciated.</p>