Exam Certified Associate Developer for Apache Spark All QuestionsBrowse all questions from this exam
Question 98

Which of the following code blocks returns a new Data Frame from DataFrame storesDF with no duplicate rows?

    Correct Answer: E

    To return a new DataFrame from storesDF with no duplicate rows, the correct method is storesDF.dropDuplicates(). This is the standard function in many data processing libraries like PySpark and Pandas for removing duplicate rows from a DataFrame.

Discussion
Sowwy1Option: E

Should be E