Jun 30, 2019 in Spark Sql
Q:

How to see the Structure (Schema) of the DataFrame 

(i)df.view() 

(ii)None of the options 

(iii)df.printSchema() 

(iv)df.schema() 

...