ValueError: Must pass DataFrame with boolean values only
You’re trying to use a different shaped df to mask your df, this is wrong, additionally the way you’re passing the conditions is being used incorrectly. When you compare a column or series in a df with a scalar to produce a boolean mask you should pass just the condition, not use this successively. you … Read more