-
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
Access subdf in @by and @combine #360
Comments
I don't think it would be possible to have something like the following
Since this is not possible in the I think what you want is essentially
I'm not sure this is worth it, but if so, it would belong in DataFrames.jl, not DataFramesMeta.jl, which is reserved for metaprogramming. |
What about an inner macro then?
to tell the outer macro that we want the :x1 column of the subdf and not that of the main df. |
That's currently pretty close to what's implemented, right?
|
This will apply
which does apply |
Nevermind, one can actually use |
What about
You have to repeat |
Yes that's fairly clean. No need for a dedicated macro with this syntax in my opinion. Thank you. |
Hello,
I'd like to discuss a possible new feature. Currently when using
@by
or@combine
togroupby
andcombine
, one can only work with the column names but not with the subdataframe. Whereas when working with the original api fromDataFrames
, one can doCorrect me if I'm wrong but there's no equivalent to this with
I don't know what would be the best way to implement this.
The text was updated successfully, but these errors were encountered: