How would I compare the blacklist value for the column_name from the first dataframe to data frame 2?
I want to return the rows from df2 which match the black list value.
df1
column_name blacklist_value
test90.v_6 931
test90.v_7 912
and
df2
test90.sno test90.v_1 test90.v_2 test90.v_3 test90.v_4 test90.v_5 \
0 0 7.52785 100 22.2 47.8 13
1 1 7.43006 100 22.2 47.8 12.9
2 2 7.40669 100 22.2 47.8 13
3 3 7.52365 100 22.2 47.9 13
4 4 7.43734 100 22.3 47.6 13.3
test90.v_6 test90.v_7 test90.v_8 test90.v_9 test90.label
0 925 951 938 954 0
1 931 953 935 950 0
2 932 952 937 950 0
3 923 950 942 950 0
4 920 952 945 954 0
I expect the result to return df2 dataframe which match the values of the blacklist_value from df1.