比如说数据如下
1 A B C D E
2 A B R
3 B G
4 B C D
5 C E
我是想删除第4,5行,因为第1行已经有了这样的组合了;但是要保留2,3行,因为他们有其他行没有的值
我现在想出来的方法就是把所有可能的值写成变量,再用类似tag的方法,ie
A B C D E F G ... R
1 1 1 1 1 1
2 1 1 1
3 1 1
4 1 1 1
5 1 1
多谢多谢
thanks! i need to keep entire row, whichever is not contained by any other rows, like raw 4 and raw 5. but i will delete the raw 2 and raw 3, since raw 1 contains them.