RS_CountValue (Band1: ARRAY[Double], Target: Double)
val countDF = spark.sql("select RS_CountValue(band1, target) as count from dataframe")
Was this page helpful?