2021
03-30
03-30
pandas || df.dropna() 缺失值删除操作
df.dropna()函数用于删除dataframe数据中的缺失数据,即删除NaN数据.官方函数说明:DataFrame.dropna(axis=0,how='any',thresh=None,subset=None,inplace=False)Removemissingvalues.SeetheUserGuideformoreonwhichvaluesareconsideredmissing,andhowtoworkwithmissingdata.ReturnsDataFrameDataFramewithNAentriesdroppedfromit.参数说明:Parameters说明...
继续阅读 >