I need to find intersection between two pandas dataframes based on a column of lists named "authors".
But instead I get this error:

I need to find intersection between two pandas dataframes based on a column of lists named "authors".
But instead I get this error:

You cannot merge on a list, because list cannot be hashed, see this. One option would be to create an additional column by converting list to string and merge on it, e.g.:
df['authors_as_string'] = df['authors'].apply(lambda x: "-".join(x))
This would produce:
id authors authors_as_string
0 1 [a, b, c] a-b-c
1 2 [a, b, c] a-b-c
2 3 [a, b] a-b
3 4 [a, c] a-c
Then you can merge on that third column.
Alternatively you can try other solutions posted in that question.