空值判断方法

   1、用openpyxl判断单元格是否为空值:

sheet.cell(row=3, column=8).value is None

2、判断pandas单元格是否为空值:
pd.isnull(df.iloc[i][14]) == True
posted @ 2020-07-16 21:44  岁月饶过谁  阅读(1138)  评论(0编辑  收藏  举报