Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Prints out the schema in the tree format

# Prints out the schema in the tree format

df.printSchema()
# root
#  |-- age: integer (nullable = true)
#  |-- name: string (nullable = true)
Source by spark.apache.org #
 
PREVIOUS NEXT
Tagged: #Prints #schema #tree #format
ADD COMMENT
Topic
Name
8+5 =