• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
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() 

2 Answers

0 votes
by

answer is df.printSchema() 

0 votes
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
...