title: How to print result of clustering in sklearn
body: <p>I have a sparse matrix </p>
  
  <pre><code>from scipy.sparse import *
  M = csr_matrix((data_np, (rows_np, columns_np)));
  </code></pre>
  
  <p>then I'm doing clustering that way</p>
  
  <pre><code>from sklearn.cluster import KMeans
  km = KMeans(n_clusters=n, init='random', max_iter=100, n_init=1, verbose=1)
  km.fit(M)
  </code></pre>
  
  <p>and my question is extremely noob: how to print the clustering result without any extra information. I don't care about plotting or distances. I just need clustered rows looking that way</p>
  
  <pre><code>Cluster 1
  row 1
  row 2
  row 3
  
  Cluster 2
  row 4
  row 20
  row 1000
  ...
  </code></pre>
  
  <p>How can I get it? Excuse me for this question.</p>