Page 1 of 1

Which of the following operations can be used to create a new DataFrame that has 12 partitions from an original DataFram

Posted: Mon Mar 27, 2023 1:39 pm
by answerhappygod
Which of the following operations can be used to create a new DataFrame that has 12 partitions from an original DataFrame df that has 8 partitions?

A. df.repartition(12)
B. df.cache()
C. df.partitionBy(1.5)
D. df.coalesce(12)
E. df.partitionBy(12)