Timeline for How to combine the tables in the following way?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 27, 2023 at 7:10 | vote | accept | John Taylor | ||
Oct 23, 2023 at 18:34 | answer | added | lericr | timeline score: 1 | |
Oct 23, 2023 at 17:14 | answer | added | Bill | timeline score: 2 | |
Oct 22, 2023 at 20:35 | comment | added | Bill |
Does Flatten[Riffle[{{#[[1]],0,0,0},#}&/@tab1,Partition[tab2,2]],1] pass your ugly test? I think it produces exactly the same output as your code. Test this carefully before you trust it.
|
|
Oct 22, 2023 at 19:34 | comment | added | John Taylor | @userrandrand : thanks! I have fixed the code. | |
Oct 22, 2023 at 19:33 | history | edited | John Taylor | CC BY-SA 4.0 |
added 21 characters in body
|
Oct 22, 2023 at 18:21 | comment | added | userrandrand |
are you sure you only wanted to give a single argument to Table and a symbolic i ?
|
|
Oct 22, 2023 at 12:15 | history | asked | John Taylor | CC BY-SA 4.0 |