T = NP.random.randint(0, 10, 20).reshape(5, 4)
c = NP.random.randint(0, 10, 5)
r = NP.random.randint(0, 10, 4)
NP.insert(T, 0, c, axis=1)
NP.insert(T, 4, c, axis=1)
NP.insert(T, 2, r, axis=0)
How can I add an additional row and column to an array?