DataFrame.
printSchema
Prints out the schema in the tree format.
New in version 1.3.0.
Examples
>>> df.printSchema() root |-- age: integer (nullable = true) |-- name: string (nullable = true)
previous
pyspark.sql.DataFrame.persist
next
pyspark.sql.DataFrame.randomSplit