queryverse / queryverse/Query.jl
Extracting name of columns
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 403
- Forks
- 48
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 6
Description
Need an interface that is similar to what names() function returns when it takes a DataFrame in its argument (name of all columns). One way, as pointed out by @davidanthoff to do this is
df |> @take(1) |> @map(fieldnames(typeof(_))) |> @mapmany(_, __)
Which is clearly not an easy way to do this.
Contributor guide
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 comparing the requested DataFrame column-name interface with Julia's names() behavior and the proposed df |> @take(1) |> @map(fieldnames(typeof())) |> @mapmany(, __) expression. The work is done when an equivalent simpler interface returns all column names, with the intended API agreed for Query.jl.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100