在python中处理NLP项目有没有一种方法可以将下面的所有反馈按特定的问题组分组?你知道吗
Out[40]:
Issue Group Feedback
24 Accessories Nope, just make a longer charging cord :)
49 Accessories Everything was very helpful and nice handled
1003 Connectivity kEEP DOING WHAT YOU ARE DOING.
2003 Connectivity None! Keep up the good work!
Desired Result will be:
Issue Group Feedback
Accessories Nope, just make a longer charging cord :) Everything was very helpful and nice handled
Connectivity kEEP DOING WHAT YOU ARE DOING None! Keep up the good work!
你可以试试groupby
输出的文本用逗号分隔
如果要在输出中添加列表
其输出形式如下:
举个例子:
相关问题 更多 >
编程相关推荐