Here Alphabets are IDs.
data=DataFrame(["A" 2 3 4; "B" 1 2 3;"C" 2 1 2;"D" 2 4 9],:auto)
4 rows × 4 columns
x1 x2 x3 x4
Any Any Any Any
1 A 2 3 4
2 B 1 2 3
3 C 2 1 2
4 D 2 4 9
Suppose my sampled data has;
2 rows × 4 columns
x1 x2 x3 x4
Any Any Any Any
1 D 2 4 9
2 A 2 3 4
I want to get remaining data that excludes rows with D and A. I can get it simply by selecting columns 2 and 3. But I need other method for large datasets.