Spark, Data Science, Tutorial, Machine Learning, Machine Intelligence.
function stat function will not cast data, so we have to manually cast the data. 3) Mode The number which appears most frequently in an set is called as mode for example [1,1,2,5,6,5] so the occurrence set will be [1:2,2:1,5:2,6:1] and the mode value will be 5,so lets see an sample code to find