I have a dataframe that has 45 unique values and corresponding are other values like 'bread', 'slice', jelly, and powder.
Here is what I have made up as the dataset:
Value_ID Value
1000 bread
1000 bread
1000 bread
1000 bread
1000 jelly
1000 bread
1001 powder
1001 bread
1001 bread
1001 bread
1001 bread
1002 slice
1002 powder
1002 bread
1002 jelly
Here, from the data I am trying to get the number(count) of Value_ID where the value-ID contains more than or equal to 80% bread, which in this case is 2 and value_id is 1001 and 1002.