详解pandas删除缺失数据(pd.dropna()方法) 1.创建带有缺失值的数据库:importpandasaspdimportnumpyasnpdf=pd.DataFrame(np.random.randn(5,3),index=list('ab pd.dropna()