queryverse / queryverse/Query.jl

Extracting name of columns

Open
#226 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.