May 21, 2016 · The calculation to tell proximity is made using geometric means (not arithmetic)- hence the name K-Means Cluster (each dot below is a row in your table, the colors represent a cluster) Let’s do it in Python. Import the data. import pandas as pd df = pd.read_excel("C:\Users\Benjamin\Documents\KMeans1.xlsx") df.head()
Catia composer