Python数据框-将特定的行数据转换为列

时间:2019-05-13 12:25:04

标签: python dataframe

我有一个如下所示的数据框: enter image description here

需要对将article_id的行分组为列0和1的值时需要帮助。 例如,上图的前3行应如下图所示:

enter image description here

请帮助。预先感谢

0 个答案:

没有答案