Suppose I have the following table:
tab1 = Tabular[
{ {"001", , 2, 3}, {"002", 4, 5, 6}, {"003", , 6, 7}, {"004", 8,
9, 10}, {"005", 8, 9, 11}, {"006", 8, 6, 10} },
{"ID", "num1", "num2", "num3"} ]
I simply want to complete the missing numbers in column "num1" with the values in column "num2" I did something like this:
TransformMissing[ tab1, "num1" -> {#num2} ]
But didn't work.
I also tried:
TransformColumns[ tab1,
"num4" -> Function[ If[ MissingQ[#"num1"], "a", #"num1" ] ]
]
It didn't work either.
Any suggestions?