Aug-22-2019, 07:43 AM
Hi,
I have 2 columns (Description and Type), for each type I want to know what the general topic the type is indicating about.
For example, typeA it is indicating about music instruments.
From the below sample, if there are over thousand of records, how can i use python to identify the topic?
I have 2 columns (Description and Type), for each type I want to know what the general topic the type is indicating about.
For example, typeA it is indicating about music instruments.
From the below sample, if there are over thousand of records, how can i use python to identify the topic?
pd.DataFrame({'Description': ['Violin','Dog','UK','Cat','Piano','Guitar','USA'],'Type': ['A','C','B','C','A','A','B']})Thanks.