Pandas - 空值选择
Pandas 选择NAN的两种办法初始化数据import pandas as pd
import numpy as npdf = pd.DataFrame(np.random.randn(10,6))df.iloc[1:3,1] = np.nan
df.iloc[5,3] = np.nan
df.iloc[7:9,5] = np.nan
df方法一:# df.T.isnull().any()
#选择
原创
2017-08-01 16:14:46 ·
6996 阅读 ·
0 评论