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

Related questions

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