Skip to content

How to echo the field name using DSL? #1064

Answered by johnkerl
aborruso asked this question in Q&A
Discussion options

You must be logged in to vote

@aborruso how about

mlr --csv --from input_01.csv head -n 1 then put -q 'print(joinv(get_keys($*), ","))'

?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aborruso
Comment options

Answer selected by aborruso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants