Let's assume I have:
A = ['a','b','c','d','e']
B = ['a','b','e']
I want to compare this 2 lists and get smth like:
[True, True, False, False, True]
The problem which I have is that lists must have a same length. But how to compare if they aren't?
I need faster way, because I'm working with df with 98800 observations. I searched in internet, but I can not to find what I need.
Thank you