QuestionQ277

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

The code block below must print the schema of the DataFrame storesDF. Select the response that correctly fills the numbered blanks in the code block to complete this task.

__1__.__2__(__3__)  
Explanation

PySpark DataFrame method printSchema() displays the DataFrame’s schema. It is invoked on storesDF with no argument.

Community Discussion

No comments yet. Be the first to start the discussion!