dataframe中,如何删除空列表所在的行

img

望采纳

在你的问题里,代码写法是

df = df[df['demands'].apply(bool)]