标签: python merge rows
我在python中有一个数据集,看起来像:
Input table
现在根据Sr No列,我想合并其中Value1-8列具有1(如果有一个或多个1s)或0的数据。
Output table