If I have the following dataframe
a,b,c
0 2,3,8
1 5,6,5
2 7,8,7
I would like to filter the rows, but using a previously created list. Use something like this:
num=[2,5]
df=df[df['a'] in num]
I would like to obtain the following resul...
asked by
24.04.2018 / 15:35