JuliaData / JuliaData/DataFramesMeta.jl
Work with symbols and integers on the RHS
Open
Nobody has claimed this yet.
1.0
- Dominant language
- Julia
- Stars
- 496
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
julia> df = DataFrame(a = [1, 2]);
julia> x = [true, false];
julia> @subset df x
ERROR: LoadError: MethodError: no method matching fun_to_vec(::Symbol; no_dest=true, outer_flags=(var"@byrow" = Base.RefValue{Bool}(false), var"@passmissing" = Base.RefValue{Bool}(false), var"@astable" = Base.RefValue{Bool}(false)))
Need to write a method of fun_to_vec for symbols and integers.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the fun_to_vec entry point and reproduce the DataFrame, x, and @subset example from the issue. Investigate how RHS values are handled, then verify that symbol and integer RHS expressions work without the reported MethodError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100