文章预览
Pandas DataFrames: Reversing 'one-hot' encoding
2023年08月22日
244 字
> > I want to go from this data frame which is essentially one hot encoded . > > > ``` In [2]: pd.DataFrame({"monkey":[0,1,0],"rabbit":[1,0,0],"fox":[0,0,1]}) Out[2]…
阅读全文
浏览
评论