-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in @filter()
with multiple conditions
#95
Comments
This may be a datatype issue. Will check when I get some time. Single quotes denote characters and double quotes denote strings. Would try |
Ah, I did not realize the difference - thanks! However, the errors are the same, regardless whether I use single or double quotes as you suggested. To avoid any data type issues, I created another data frame with only integers and get other errors:
|
Thank you for trying it. I will take a look! |
Ok, I figured out the issue, which has to do with a bug in The bug: The bug is now fixed in a PR. Once it passes tests, will merge. The operator precedence issue: While I've added a doctest and have updated the documentation with 3 different ways to handle this situation. |
Resolved by #96. See https://tidierorg.github.io/Tidier.jl/dev/examples/generated/UserGuide/filter/ for details. |
(the documentation is still re-building so may need to check again in a few mins in case looking now) |
As I'm compiling a basic set of introductory applications, I uncovered an issue with
@filter()
: I cannot use logical and / or in filtering the data:Interestingly, the following chunk works, but produces non-meaningful results since it returns an empty data frame (while the result should be the first row).
I did not find any hints in the documentation. Am I missing something?
The text was updated successfully, but these errors were encountered: