📜  以树格式打印出架构 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:30.153000             🧑  作者: Mango

代码示例1
# Prints out the schema in the tree format

df.printSchema()
# root
#  |-- age: integer (nullable = true)
#  |-- name: string (nullable = true)