JuliaData / JuliaData/DataFramesMeta.jl
Good hack for avoid compilation when no columns submitted
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 496
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
julia> using DataFrames;
julia> struct A{T} <: Function
x::T
end;
julia> (a::A)() = a.x;
julia> df = DataFrame(a = [1], b = [2]);
julia> transform(df, [] => (A(1)) => :c)
1×3 DataFrame
Row │ a b c
│ Int64 Int64 Int64
─────┼─────────────────────
1 │ 1 2 1
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
Reproduce the Julia REPL example using DataFramesMeta.jl's transform call and inspect how the empty column selection is handled. Determine the intended behavior for avoiding compilation when no columns are submitted, then confirm the result with a focused regression test for this example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100