python中pandas、numpy、sklearn.SimpleImputer的缺失值联合操作(dropna()函数、fillna()函数)
一、生成缺失值数据
import pandas as pd
import numpy as np
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
df=pd.DataFrame(np.random.randn(6,5),co...
原创
2020-04-13 09:59:21 ·
1535 阅读 ·
0 评论