in Spark Sql by
Q:

How to see the Structure (Schema) of the DataFrame 

(i)df.view() 

(ii)None of the options 

(iii)df.printSchema() 

(iv)df.schema() 

▼ Show 2 Answers

0 votes
by

answer is df.printSchema() 

0 votes
by
Learn More with Madanswer

Related questions

+1 vote
asked Jun 30, 2019 in Spark Sql by anonymous
...