【问题标题】:Replace missing value with most frequent column item. (Imputer())-Python scikit-learn用最频繁的列项替换缺失值。 (Imputer())-Python scikit-learn
【发布时间】:2018-03-18 20:01:19
【问题描述】:

如何用最常见的列项替换缺失值。 (Imputer()) 在这个数据集中“https://archive.ics.uci.edu/ml/machine-learning-databases/voting-records/house-votes-84.data

【问题讨论】:

    标签: python pandas scikit-learn


    【解决方案1】:

    您将要替换 NaN 值。

    试试这个 -- Imputation of missing values for categories in pandas

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-05-03
      • 2016-12-18
      • 2017-04-03
      • 2018-11-21
      • 1970-01-01
      • 2020-07-01
      • 2018-04-22
      • 1970-01-01
      相关资源
      最近更新 更多