i have 2 data frames ds and dk and want to merge that with a common column result using the merge command:
result = pd.merge(ds,dk,on='result')
but the result column is actually a dictionary and resulting in the error:
"unhashable type: dict"
what is the possible solution for merging these frames? Can the result column be changed to a string type and then be merged along the column?
I tried using dk['result']= str(dk['result']) and ds['result']= str(ds['result']) to convert then and merge but it did not work.
Thanks