QuestionQ94

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

The code block below should print the schema for the DataFrame storesDF. Choose the response that correctly completes the numbered blanks in the code block to accomplish this task.

Code block:

1.2

Explanation

Apache Spark DataFrames provide printSchema() to print the schema to the console in a readable tree format. Calling storesDF.printSchema() therefore performs the required operation.

Learn more

Community Discussion

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