📜  pandas 删除空列 - Python 代码示例

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

代码示例3
# Returns a new DataFrame omitting rows with null values

df4.na.drop().show()
# +---+------+-----+
# |age|height| name|
# +---+------+-----+
# | 10|    80|Alice|
# +---+------+-----+