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