kmeans with new panda for mulitple nodes