while working on spark scala. I tried working on code using pearson correaltion it works but when I tried to work on spearman rank correlation it displayed error like
Currently only the calculation of the Pearson Correlation coefficient is supported.