-
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 keyword argument bug #400
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -759,7 +759,6 @@ | |
|
||
function subset_helper(x, args...) | ||
x, exprs, outer_flags, kw = get_df_args_kwargs(x, args...; wrap_byrow = false) | ||
|
||
t = (fun_to_vec(ex; no_dest=true, outer_flags=outer_flags) for ex in exprs) | ||
quote | ||
$subset($x, $(t...); (skipmissing = true,)..., $(kw...)) | ||
|
@@ -860,7 +859,7 @@ | |
|
||
### Examples | ||
|
||
```jldoctest | ||
Check failure on line 862 in src/macros.jl GitHub Actions / build
|
||
julia> using DataFramesMeta, Statistics | ||
|
||
julia> df = DataFrame(x = 1:3, y = [2, 1, 2]); | ||
|
@@ -976,7 +975,7 @@ | |
Use this function as an alternative to placing the `.` to broadcast row-wise operations. | ||
|
||
### Examples | ||
```jldoctest | ||
Check failure on line 978 in src/macros.jl GitHub Actions / build
|
||
julia> using DataFramesMeta | ||
|
||
julia> df = DataFrame(A=1:5, B=["apple", "pear", "apple", "orange", "pear"]) | ||
|
@@ -1128,7 +1127,7 @@ | |
|
||
### Examples | ||
|
||
```jldoctest | ||
Check failure on line 1130 in src/macros.jl GitHub Actions / build
|
||
julia> using DataFramesMeta, Statistics | ||
|
||
julia> df = DataFrame(x = 1:3, y = [2, 1, 2]); | ||
|
@@ -1312,7 +1311,7 @@ | |
|
||
### Examples | ||
|
||
```jldoctest | ||
Check failure on line 1314 in src/macros.jl GitHub Actions / build
Check failure on line 1314 in src/macros.jl GitHub Actions / build
|
||
julia> using DataFramesMeta, Statistics | ||
|
||
julia> d = DataFrame(x = [3, 3, 3, 2, 1, 1, 1, 2, 1, 1], n = 1:10, | ||
|
@@ -1407,7 +1406,7 @@ | |
Use this function as an alternative to placing the `.` to broadcast row-wise operations. | ||
|
||
### Examples | ||
```jldoctest | ||
Check failure on line 1409 in src/macros.jl GitHub Actions / build
|
||
julia> using DataFramesMeta | ||
|
||
julia> df = DataFrame(x = [8,8,-8,7,7,-7], y = [-1, 1, -2, 2, -3, 3]) | ||
|
@@ -2530,7 +2529,7 @@ | |
|
||
### Examples | ||
|
||
```jldoctest | ||
Check failure on line 2532 in src/macros.jl GitHub Actions / build
Check failure on line 2532 in src/macros.jl GitHub Actions / build
|
||
julia> using DataFramesMeta; | ||
|
||
julia> df = DataFrame(x = 1:10, y = 10:-1:1); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you additionally check type of
df2
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I missed this!