Replies: 2 comments
-
maybe union(...) instead of concat? (set union, not bag, like you asked?)
…On Thu, Jul 13, 2023 at 7:56 AM seolmor ***@***.***> wrote:
Given a column with three rows, each row holding a list, is it possible to
concatenate the lists?
q1[n] <- [[["apple","pear"]],[["plum"]],[["pear"]]]
?[collect(y)] := q1[n], y=concat(n)
With or without the y=concat(n) clause, the above outputs -
[["apple", "pear"], ["pear"], ["plum"]]
I'm trying to get -
["apple", "pear", "pear", "plum"]
—
Reply to this email directly, view it on GitHub
<#147>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL52JJQXNVHDSJLIKYQXTRLXP7O7BANCNFSM6AAAAAA2I2SCSU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given a column with three rows, each row holding a list, is it possible to concatenate the lists?
With or without the
y=concat(n)
clause, the above outputs -[["apple", "pear"], ["pear"], ["plum"]]
I'm trying to get -
["apple", "pear", "pear", "plum"]
Beta Was this translation helpful? Give feedback.
All reactions