Add Usage and Alternatives sections to README#421
Open
nathanrboyer wants to merge 3 commits into
Open
Conversation
bkamins
approved these changes
Jun 1, 2026
Member
|
Looks good. @nalimilan - could you also please have a look? |
pdeffebach
reviewed
Jun 2, 2026
| subset(df, :a => ByRow(==(2))) | ||
|
|
||
| # With DataFramesMeta | ||
| @rsubset(df, :a == 2) |
Collaborator
There was a problem hiding this comment.
remove parentheses? So it looks cleaner.
Suggested change
| @rsubset(df, :a == 2) | |
| @rsubset df :a == 2 |
| transform(df, [:a, :b] => ((x, y) -> x + y) => :c) | ||
|
|
||
| # With DataFramesMeta | ||
| @transform(df, :c = :a + :b) |
Collaborator
There was a problem hiding this comment.
Suggested change
| @transform(df, :c = :a + :b) | |
| @transform df :c = :a + :b |
| df = DataFrame(a = [1, 2], b = [3, 4]) | ||
| ``` | ||
|
|
||
| Add columns `a` and `b` together and store the result in a new column `c`. |
Collaborator
There was a problem hiding this comment.
Suggested change
| Add columns `a` and `b` together and store the result in a new column `c`. | |
| Add columns `:a` and `:b` together and store the result in a new column `:c`. |
| which use operation pairs to define data frame manipulations, | ||
| DataFramesMeta.jl offers macro alternatives to each manipulation function, | ||
| which convert a more readable syntax into the appropriate DataFrames.jl function calls. | ||
| This syntax simplification is demonstrated with two simple examples below. |
Collaborator
There was a problem hiding this comment.
Add something how its similar to R's dplyr?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I think the README could use a little more advertisement up front to demonstrate why it is good.