attr(label endoer & jupyter notebook)

最早出現關於attr的問題是加載sklearn的LabelEncoder,提示attr.ib不認識convert參數。自己手動更改源碼,將convert改爲converter,然而並沒有徹底解決問題。 又繼續報attr沒有’s,這時不會改源碼了,後來搜索將attr卸載後重裝attrs及先後執行pip uninstall attr pip install attrs 此時LabelEncoder可以
相關文章
相關標籤/搜索