I have a dataset looks like below:
Attribute:Value Support
0 VDM:1 9
1 VDM:2 2
2 VDM:3 0
3 VDM:4 0
4 VDM:5 1
5 MDM:1 2
6 MDM:2 6
7 MDM:3 0
8 MDM:4 3
9 MDM:5 1
10 OM:1 2
11 OM:2 6
12 OM:3 0
13 OM:4 3
14 OM:5 1
Here I want to delete those rows where support is less than or equals to 4 and value of attribute:value pair is 1 or 2 or 3. After removing rows the the dataset will looks like below:
Attribute:Value Support
0 VDM:1 9
1 VDM:4 0
2 VDM:5 1
3 MDM:2 6
4 MDM:4 3
5 MDM:5 1
6 OM:2 6
7 OM:4 3
8 OM:5 1
The value part will contains only 1,2,3,4,5.