r print schema code example
Example: 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)
# Prints out the schema in the tree format
df.printSchema()
# root
# |-- age: integer (nullable = true)
# |-- name: string (nullable = true)