title: How can I use KNN /K-means to clustering time series in a dataframe
body: <p>Suppose a dataframe which contains 1000 rows. Each row represents a time series. </p>
  
  <p>Then I built a DTW algorithm to calculate the distance between 2 rows.</p>
  
  <p>I don't know what to do next to complish an unsupervised classification task for the dataframe.</p>
  
  <p>How to label all rows of the dataframe?</p>