📅  最后修改于: 2022-03-11 14:46:34.891000             🧑  作者: Mango
# Returns a new DataFrame omitting rows with null values
df4.na.drop().show()
# +---+------+-----+
# |age|height| name|
# +---+------+-----+
# | 10| 80|Alice|
# +---+------+-----+