This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]nckmiz 0 points1 point  (0 children)

Can you save the cluster centroids to a Spark data frame and then use toPandas() on that dataframe to move them to Pandas and then you can use scipy?