首页 新闻 会员 周边 捐助

保留连续相同的行,删除不连续相同的行

0
[待解决问题]

文件内容:
i0_HQ_c27/f3p0/888 i0_HQ_c27/f3p0/888 100 886 0 0 1 886
i0_HQ_c27/f3p0/888 i0_HQ_c78/f2p0/893 96.067 534 21 0 158 691
i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.021 241 11 1 452 691
i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.395 152 7 0 158 309
i0_HQ_c27/f3p0/888 i3_LQ_c32595/f1p14/3464 96.087 690 25 2 2 691
i0_HQ_c29/f3p0/729 i0_HQ_c29/f3p0/729 100 731 0 0 1 731
i0_HQ_c30/f2p0/962 i0_HQ_c30/f2p0/962 100 963 0 0 1 963

根据第二列内容删除整行,如果第二列连续两行或多行相同,则保留;如果不连续相同,则删除整行。最后得到:

i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.021 241 11 1 452 691
i0_HQ_c27/f3p0/888 i0_LQ_c146/f1p0/748 95.395 152 7 0 158 309

冰冻三丈的主页 冰冻三丈 | 菜鸟二级 | 园豆:202
提问于:2018-12-19 17:00
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册