I have 2 data frames and I would like to remove all columns in df1 that names match row names in df2.
df1
GO_267 GO_345 GO_5 GO_2
a 0 1 1 1
b 0 1 1 1
c 0 1 1 1
d 0 1 1 1
e 0 1 1 1
df2
z
GO_267 2
GO_345 3
GO_2 7