发生异常: TypeError (note: full exception trace is shown but execution is paused at: <module>)
DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given
File "C:\Users\S1mpl\Desktop\111.py", line 170, in <module> (Current frame) pic = pyLDAvis.sklearn.prepare(lda, tf, tf_vectorizer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given
方法drop()只接受1到2个位置参数,而您传递了3个参数。没在代码中发现DataFrame.drop()
该怎么改正传递的参数呢