input id1 id2;
cards;
1 2
2 1
4 7
5 8
6 9
8 5
;
要求结果是
1 2
4 7
5 86 9
也就是说:
如果id1的号码在id2的某个观测存在的话,就把对应的id2的那条观测删掉,只保留当前观测,如果id1的号码在id2中不存在的话,就保留下来
比如id1=1的号码,在第二条观测id2也等于1,就把第二条观测删掉,只保留第一条观测
悬赏100论坛币

|
楼主: Imasasor
|
4509
26
如何找重复的id号 |

|
已卖:215份资源 学科带头人 33%
-
TA的文库 其他...
|
本帖被以下文库推荐
| ||
|
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;
|
|||
|
|
| ||
| ||
|
Be still, my soul: the hour is hastening on
When we shall be forever with the Lord. When disappointment, grief and fear are gone, Sorrow forgot, love's purest joys restored. |
||
| ||
|
和谐拯救危机
|
||
| ||
| ||
|
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;
|
|
|
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;
|
|
| ||
|
Be still, my soul: the hour is hastening on
When we shall be forever with the Lord. When disappointment, grief and fear are gone, Sorrow forgot, love's purest joys restored. |
||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


