我有原始聊天机器人成绩单,在做任何情绪分析之前,我想把机器人记录从聊天记录中分离出来
数据已在dataframe中,如下所示:
Conversation_ID | Transcript
abcdef | BOT: Some text. CHATTER: Some text. BOT: Some text. BOT: Some text. CHATTER: Some text. BOT: Some text. BOT: Some text.
结果应该如下所示:
Conversation_ID | Transcript_BOT | Transcript_CHATTER
abcdef | Some text. Some text. Some text. Some text. Some text. | Some text. Some text.
如果我理解正确
为了你的预期结果:
相关问题 更多 >
编程相关推荐