Python Pandas选择多个列为nu的行

2024-05-14 10:23:56 发布

您现在位置:Python中文网/ 问答频道 /正文

我想选择具有多个列(在下面的示例中为4)的行作为空值。我使用了以下代码:

data[(data['relevent_experience'].isnull())&data['education_level'].isnull())&data['major_disciplne'].isnull())&data['relevent_experience'].isnull())]

这是一个非常复杂的代码。有没有更干净的方法来做同样的事情?在


Tags: 方法代码示例data事情levelexperience空值

热门问题