isnull() 1 统计某些列的空值个数 m['count'] = m[['RESULT_STRING', 'RESULT_VALUE']].apply(lambda x: x.isnull().sum(), axis=1) 2