Applying and Visualizing k means clustering on a data set that has 9 features I had a data set of images that I have extracted 9 numerical features that I want to apply k means clustering or hierarchical clustering to. I'm just not sure how to go about it. The tutorials I have read all only have 2 or 3 features to them, so it's easy to apply and graph. Any help would be appreciated  

Here's the code I have so far: 

numpyArr = df.values


ms = MeanShift()
ms.fit(numpyArr)
labels = ms.labels_
cluster_centers = ms.cluster_centers_
n_clusters_ = len(np.unique(labels))
print("Number of estimated clusters:", n_clusters_)
You may use a dimensionality reduction algorithm like PCA method after performing clustering, to reduce the dimension of your clustered data into two dimensions and then visualize the clusters.