Which of the following code blocks returns a new DataFrame that is the result of a cross join between DataFrame storesDF and DataFrame employeesDF?
Which of the following code blocks returns a new DataFrame that is the result of a cross join between DataFrame storesDF and DataFrame employeesDF?
The correct option is the one that uses the crossJoin method on the storesDF DataFrame. This method is specifically designed to perform a cross join between two DataFrames. Therefore, storesDF.crossJoin(employeesDF) will return a new DataFrame that is the result of a cross join between storesDF and employeesDF.
A is the answer
A is correct