in Spark Sql by

How to see the Structure (Schema) of the DataFrame 

(i)df.view() 

(ii)None of the options 

(iii)df.printSchema() 

(iv)df.schema() 

2 Answers

0 votes
by

answer is df.printSchema() 

0 votes
by
edited by
...