I have a list, "L" and a DataFrame, "df" and I wish to extract a certain column value only where the L and a certain df column match.
L = [299]
Match = []
df:
['ID'] ['Num']
299 1
300 3
.... ....
I wish to see 1 when I print Match:
print(Match):
1