-
Notifications
You must be signed in to change notification settings - Fork 55
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
Fix #328 parsing bug try 2 #346
Conversation
@bkamins Let's merge this and add docs separately. |
Looks almost good. This:
fails, but maybe we are OK, as it is a corner case. The only situation where I think it could be useful is negation with
|
Thank you! I was missing a Ultimately, though, we actually have to change support to only include 1.6+. See the following
This comes into play when we see
Where we have
so I need to lower things down to |
Yes, support for Julia 1.6 can be required. Also you are right, by requiring to use As for tests - maybe add some tests with data frames having more than 1 row. |
Okay tests pass with this change. I think we should merge and then I can add the docs from #341 later. |
* simpler diff * hygiene * better fix * update versions
* fix problem * Fix #328 parsing bug try 2 (#346) * simpler diff * hygiene * better fix * update versions * improve subsetting explanations (#345) * Update TagBot.yml (#350) * update news and version (#353) * add tests --------- Co-authored-by: Bogumił Kamiński <[email protected]> Co-authored-by: Carlo Lucibello <[email protected]>
Just takes the bugfix from #341
I cluttered up #341 with docstrings, and the diff is actually a little important.
Ideal scenario: create
Expr(., f)
This works on 1.6+ but tests currently pass on 1.0 and 1.5. Including this fix would require changing compatability. This is a bug-fix so I don't want to do that.
Current scenario: use
$ByRow($f)
This is not should to
Expr(., f)
except for extremely contrived edge cases which I do not know about.Once we release 1.0, we will depend on DataFrames.jl version which require 1.6 and above, and therefore depend on 1.6.
The docstrings and explanations will be added in a later PR.