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

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

代码示例1
# Drop all rows that have an empty list in "example_column"

df[df['example_column'].map(lambda d: len(d)) > 0]