I am trying to use Pandas to solve the problem with the idiotic DBA without backing up the now broken dataset, so I am trying to find the differences between the two columns. For reasons that I wonโt fall into, I use Pandas rather than a database.
What I would like to do is:
Dataset A = [A, B, C, D, E] Dataset B = [C, D, E, F]
I would like to find values โโthat do not overlap.
Dataset A!=B = [A, B, F]
In SQL, this is the standard set logic, performed differently depending on the dialect, but a standard function. How can I elegantly apply this in Pandas? I would like to introduce some code, but nothing that I have is even remotely correct. This is a situation in which I donโt know what I donโt know ..... Pandas set the logic for intersection and union, but nothing for the disjunct / installation difference.
Thanks!
Jpkab
source share