Message Boards Message Boards

0
|
5076 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Append Columns to a Table?

Posted 5 years ago

I imported a csv file into Mathematica and I want to append columns to it:

Append[Data[[i]], Cycle[i][[15, j]]], {i, 1, Length[CycleStartTime]}];

This allows me to append one column, what if I want to append more columns?

POSTED BY: T P

You may use Join:

In[1]:= Join[{{a, b}, {c, d}}, {{1, 2}, {3, 4}}, 2]

Out[1]= {{a, b, 1, 2}, {c, d, 3, 4}}
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract