I have a dataframe which is organized similar to this
I am trying to make a new column which details if the GUID matches and the 'DL', 'DRI', 'DS' columns match. So from the image above the new column would have picked up that this data is a match.
I've tried:
cols = {['DL','DRI','DS']}
df['match'] = df[cols].eq(df.col1.shift())
But am getting 'TypeError: unhashable type: 'list''
