Is there equivalent of scipy distance_matrix in pyspark?

前端 未结 0 1628
傲寒
傲寒 2020-12-21 04:24

I want to calculate distance matrix for two dataframes a and b In python I could do it with

from scipy.spatial import distance_matrix

distance_matrix(a.values,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题