pandas使用lambda判断元素是否为空或者None

 

 

df2a_tp2 = df2a[df2a['combineIdentifyCode'].map(lambda x: len(str(x).strip())>0)].copy() #识别出合单的订单

[pd.isnull(i[0]['trp_vehicleNumber']) for i in dfMatch_5_c[0:20]]

 

posted on 2018-12-11 15:29  andy_1  阅读(8129)  评论(0编辑  收藏  举报

导航