-
Notifications
You must be signed in to change notification settings - Fork 370
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
Allow DF() as a selector in select and combine #2220
Comments
I think DF() is safer. Otherwise, in the macro-based DataFrames, syntax such as |
I'm not totally convinced |
So just to give my preference I also prefer |
We don't really want people to use the |
If it is slower or not depends on the use case, but often it is faster (even if we exclude compulation cost), e.g.:
The more columns you have in your
|
When #2410 will be implemented this should be closed. |
I would close it. The operation specification syntax is already complex enough. If you feel this issue should be re-opened please comment. |
Allow in
selector => fun => outcol
forselector
to be aDF()
in which case anAbstractDataFrame
would be passed tofun
.Alternatively we could just allow
fun => outcol
andfun
(as we currently do incombine
with thefun
form).To be discussed what is better. Using
DF()
is explicit. Just usingfun
is shorter and it is not ambiguous so both have pros and cons.CC @pdeffebach @matthieugomez
The text was updated successfully, but these errors were encountered: