title: Python K means clustering Array
body: <p>i'm looking for a way to segment a 2D array in n clusters with python. I want to use the K means method but I haven't found any code. I tryed with the k-means of the sklearn library but i haven't understood how to use it properly.</p>