How can I slice a smaller array into an N x M array if I know the point of insertion?
ie,
# Larger array
[1,1,1,1,1,1,1,1,1,1]
[1,1,1,1,1,1,1,1,1,1]
[1,1,1,1,1,1,1,1,1,1]
# Smaller array
[1,2,3,4]
[5,6,7,8]
# Insert at [1,6] gives:
[1,1,1,1,1,1,1,1,1,1]
[1,1,1,1,1,1,1,2,3,4]
[1,1,1,1,1,1,5,6,7,8]
And using just list comprehensions?