Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.5K Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

[✓] Add a column of a list of values to a dataset?

Posted 6 years ago
POSTED BY: J V. Alva
3 Replies
Posted 6 years ago

Another way, without using Transpose

dt[MapIndexed[<|"col4" -> Extract[col4, #2], #|> &]]
POSTED BY: Rohit Namjoshi
POSTED BY: Mohammad Bahrami
Append[dt[Transpose], "col4" -> {1, 34, 65, 76, 8, 66}][Transpose]
POSTED BY: Mohammad Bahrami
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard