How can i find the mean distance from the centroid to all the data points in each cluster. I am able to find the euclidean distance of each point (in my dataset) from the ce
You can use following Attribute of KMeans:
cluster_centers_ : array, [n_clusters, n_features]
For every point, test to what cluster it belongs using predict(X) and after that calculate distance to cluster predict returns(it returns index).
predict(X)