I just ran PCA and then K-means Clustering algorithm on my data, after running the algorithm I get 3 clusters. I am trying to figure out which clusters my input belongs to , in
If you want to add the cluster labels back in your dataframe, and assuming x_10d is your dataframe, you can do:
x_10d["cluster"] = X_clustered
This will add a new column in your dataframe called "cluster" which should contain the cluster label for each of your rows.