数据预处理 ‘’’ 寻找具有缺失值的列 ‘’’ for i in range(data.shape[1]): if data.isnull().any()[i]==True: print(data.columns[i]) (data.isnull().sum()/data.shape[0]).sort_values(ascending = False)