一 、DataFrame删除某行当某列为NaN时? df = df.dropna(subset = ['列名']) 二、删除DataFrame中值全为NaN或者NaN的列或行? 删除NaN所在的行: df.dropna(axis=0,how='all'):全部 df.dropna(axis=0,ho Read More
posted @ 2018-04-05 22:08 wjunneng Views(543) Comments(0) Diggs(0) Edit