Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
sklearn 中的 Imputer 是否可以处理不同类型的数据?
例如,字符串和数字都表示为?,当应用 Imputer 时,它仅适用于一种策略。
?
据我所知,Imputer仅适用于数字数据类型,并且估算的值是nan,而不是 string ?。
nan
为了能够估算字符串值,请参阅此答案。