Closed HakonSkogsrud closed 1 year ago
Hey! Similar to using with or (|
) you need to put the left hand and right hand sides of the &
in parentheses.
It's unfortunately a weird issue with python syntax :/
https://siuba.org/guide/verb-filter.html#filters-with-or-conditions
🤦♂️ I did not realize I needed to encapsulate all expressions in parentheses.
Thanks a lot for your reply and have nice day!
Hi!
Thanks for creating a brilliant package, I use it a lot and love it!
I struggle to make
filter
work with more complex examples. See this example using pandas how I want to filter:if I try using filter I get an error message:
TypeError: Symbolic objects can not be converted to True/False, or used with these keywords: not, and, or.
Is there a way to achieve this using
filter
?Thanks a lot!