Doing the following :
DF.where(DF['Test']=="a" and DF['Test']=="b")
throw the error :
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
What am I doing wrong ?
Doing :
DF.where(DF['Test']=="a" & DF['Test']=="b")
returns :
TypeError: Cannot perform 'rand_' with a dtyped [object] array and scalar of type [bool]