Cloudera CDP-3002 Practice Questions - Cloudera Certified Associate - Data Engineer (CDP-3002) Exam

Access More Questions
Which PySpark call adds a new column 'bonus' equal to 10% of an existing 'salary' column?
Correct Answer:
df.withColumn('bonus', df.salary * 0.1)

Access more questions from this quiz

Continue to Cloudera CDP-3002 Practice Questions - Cloudera Certified Associate - Data Engineer (CDP-3002) Exam for more practice questions and the full quiz experience.

Access More Questions