Python Forum
Generalize the topic from a feature
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generalize the topic from a feature
#1
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?

pd.DataFrame({'Description': ['Violin','Dog','UK','Cat','Piano','Guitar','USA'],'Type': ['A','C','B','C','A','A','B']})
Thanks.
Reply


Messages In This Thread
Generalize the topic from a feature - by william888 - Aug-22-2019, 07:43 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020