将对应于特定列的csv文件中存在的数据分组

时间:2019-03-29 07:34:19

标签: python csv dataframe

我有一个包含csf_id和反馈的数据集

256 134 not taking regular classes. 1   Very Negative
187 134 the subject knowledge of sir is excellent.  5   Very Positive
217 43  not able to properly clear the doubts of the ...    1   Very Negative
202 44  he has trimendous knowledge of subject and he...    5   Very Positive
216 49  not able to express his knowledge and partial...    1   Very Negative
69  135 She needs to get more prepared with better te...    5   Very Positive
14  138 good way of teaching with giving practical ex...    5   Very Positive

如何对数据进行分组,以使与特定csf_id对应的所有反馈(无论是正反馈还是负反馈)都出现在同一列中?

0 个答案:

没有答案