Which of the following code blocks writes DataFrame storesDF to file path filePath as CSV?
Which of the following code blocks writes DataFrame storesDF to file path filePath as CSV?
To write a DataFrame to a file path as a CSV, you need to use the write function combined with the csv function, specifying the file path as the argument. The correct code block is storesDF.write.csv(filePath).
Correct is C. storesDF.write.csv(filePath)