I have the following list:
a = [1, 1193, 1219, 1210, 2115, 1198, 1197, 1196, 1136, 3793]
I also have a Dataframe with 8570 rows × 4 columns.
Now I want to have all the values of the 2nd column of the dataframe when a value of my list 'a' matches with a value of the first column of the dataframe. How can I do this in python (numpy/pandas)?