Skip to main content
Mask all the values with 1 which are greater than equal to a particular target value

Signatures

RS_GreaterThanEqual (Band: ARRAY[Double], Target: Double)

Parameters

Band
ARRAY[Double]
required
The band index.
Target
Double
required
The target value.

Return type

An array of double values.

Example

val greaterEqualDF = spark.sql("select RS_GreaterThanEqual(band, target) as maskedvalues from dataframe")