合并多行基于python中的一列

时间:2020-07-14 23:50:29

标签: python merge rows

我在python中有一个数据集,看起来像:

Input table

现在根据Sr No列,我想合并其中Value1-8列具有1(如果有一个或多个1s)或0的数据。

Output table

0 个答案:

没有答案
相关问题