The code block shown below should print the schema of DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block to complete this task.
B & E results an output. But using df.schema gives you the schema in more detail, df.printSchema just gives the columns that are present in the dataframe. df.printSchema() gives the detailed schema.
interesting case, either the answer E is indeed not complete () is missing or it is B, though B doesn't print schema but returns schema object
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
SaiPavan10
7 months, 3 weeks agoSaiPavan10
7 months, 3 weeks agoSowwy1
7 months, 4 weeks agoGluemr
10 months, 2 weeks agocookiemonster42
1 year, 3 months agonewusername
1 year ago