I have used this code to number of points in respective clusters
# number of points in respective clusters my_dict = {kmeans.cluster_centers_[i, 0]: np.where(kmea