You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Will submit pull request with updated document.
Error:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[12], line 1
----> 1 df.drop("Representative_Docs", 1).drop("Name", 1)
TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given
Assumed reason: changes to pandas require use of keyword.
Solution: Change code to df = topic_model.get_topic_info().drop(["Representative_Docs","Name"], axis=1)
The text was updated successfully, but these errors were encountered:
Note: Will submit pull request with updated document.
Error:
Assumed reason: changes to pandas require use of keyword.
Solution: Change code to
df = topic_model.get_topic_info().drop(["Representative_Docs","Name"], axis=1)
The text was updated successfully, but these errors were encountered: