0

I have found very useful the solution here but I would like to use it with TRUE/FALSE values.

When I try the code I get the error message: "ValueError: Can only compare identically-labeled Series objects"

Any ideas?

Thank you.

megapixel
  • 53
  • 4
  • 1
    Welcome to StackOverflow. Please take the time to read this post on how to provide a [minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve) and revise your question accordingly – yatu Apr 07 '20 at 11:30
  • I guess you try to compare Pandas series objects, probably in the form `df.column_name`. Instead operate on `df.column_name.array` or convert them to numpy arrays. – sauerburger Apr 07 '20 at 14:53

0 Answers0