Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels