title: Populate a Pandas SparseDataFrame from a SciPy Sparse Coo Matrix
body: <p>(This question relates to <a href="https://stackoverflow.com/questions/17818783/populate-a-pandas-sparsedataframe-from-a-scipy-sparse-matrix">"populate a Pandas SparseDataFrame from a SciPy Sparse Matrix"</a>. I want to populate a SparseDataFrame from a scipy.sparse.<strong>coo</strong>_matrix (specifically) The mentioned question is for a different SciPy Sparse Matrix (<strong>csr</strong>)...
  So here it goes...)</p>
  
  <p>I noticed Pandas now has <a href="http://pandas.pydata.org/pandas-docs/dev/sparse.html" rel="nofollow noreferrer">support for Sparse Matrices and Arrays</a>.  Currently, I create <code>DataFrame()</code>s like this:</p>
  
  <pre><code>return DataFrame(matrix.toarray(), columns=features, index=observations)
  </code></pre>
  
  <p>Is there a way to create a <code>SparseDataFrame()</code> with a <code>scipy.sparse.coo_matrix()</code> or <code>coo_matrix()</code>? Converting to dense format kills RAM badly...!</p>