The code block shown below should return a new 12-partition DataFrame from DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block to complete this task.
Code block:
__1__.__2__(__3__)
The code block shown below should return a new 12-partition DataFrame from DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block to complete this task.
Code block:
__1__.__2__(__3__)
To create a new 12-partition DataFrame from DataFrame storesDF, the correct method to use is repartition. The repartition method allows us to specify the desired number of partitions, in this case, 12. Therefore, the correct response to complete the code block is storesDF.repartition(12).
Should be D