A data scientist is working with a Spark databricks video
ml-engineer-associate video for a data scientist is working with a Spark DataFrame, named 'spark_df'. They intend to generate a new Spark DataFrame that retains
Answer
          Full Certification Question
A data scientist is working with a Spark DataFrame, named 'spark_df'. They intend to generate a new Spark DataFrame that retains only the rows from 'spark_df' where the value in the 'discount' column is less than 0. Which of the following code segments would accomplish this objective?