Closed quillan86 closed 4 years ago
Okay i was using the installation through conda, which is out of date:
@quillan86, how were you able to resolve this? I am experiencing the same problem. I installed Scattertext using pip.
There's a known issue with the conda package being out of date. @lesliewalcott, could you please let me know which version of Scattertext you're running? This was a problem with earlier versions, but the current (0.0.2.67) shouldn't suffer from this.
If you're using an old version, please run
$ pip install -U scattertext
to update your installation.
Hi Jason, I appreciate the response. We are running Scattertext 0.0.2.67 and pandas 1.1.0. We tried downgrading pandas, but got the same error. Something weird is going on, because we can run our program properly on my machine, but not my colleague's, who cloned my repo and is using my frozen env. I can comment back here when we find a solution, something else must be causing the problem.
That makes sense... your colleague may want to try using a fresh virtual environment.
Closing this issue since it appears to be resolved.
Your Environment
I tried to use
print(list(corpus.get_scaled_f_scores_vs_background().index[:10]))
after creating a corpus and got this error. Issue is that the latest Pandas version removedix
( I have Pandas version 1.0.5)