+1 vote
I have a column as such:

[{"country":"US","uid":"5419068","amount":"34389.38 ...

And would like it as so:

country |    uid      | amount

   US     | 5419068 | 34389.38
asked by

1 Answer

0 votes
Start by using the "extract from array" processor to extract the 0th element of the array. Then use the "Unnest object" to transform object keys to columns.

If you want each element of the array to form a new line instead of taking only the 0th, then use instead the "Fold array" processor which creates one line per element of the array
answered by
992 questions
1,025 answers
1,077 comments
3,154 users

©Dataiku 2012-2018 - Privacy Policy