title: What clustering algorithm to use on 1-d data?
body: <p>I have a list of numbers in an array. The index of each element is X and the value is Y. How do i go about partitioning/clustering this data?
  If i had an array, i just want a set of values which mark the end of each partition. Since I'm working on Python, please do mention if there are libraries to do the same.</p>
  
  <p>Thanks.</p>