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() 

2 Answers

0 votes
Jun 30, 2019

answer is df.printSchema() 

0 votes
Feb 12, 2020

https://madanswer.com/2023/structure-schema-dataframe

Related questions

+1 vote
Jun 30, 2019 in Spark Sql
+1 vote
Jun 30, 2019 in Spark Sql
...