Pandas DataFrame and Keras

前端 未结 3 1031
星月不相逢
星月不相逢 2020-12-14 09:46

I\'m trying to perform a sentiment analysis in Python using Keras. To do so, I need to do a word embedding of my texts. The problem appears when I try to fit the data to my

3条回答
  •  既然无缘
    2020-12-14 10:19

    You need a specific version of Pandas for this to work. If you use the current version (as of 20th Aug 2018) this will fail.

    Rollback your Pandas and Keras (pip uninstall ....) and then install a specific version like this

    python -m pip install pandas==0.19.2
    

提交回复
热议问题