I have a 2d array that looks like this:
XX xx
What\'s the most efficient way to add an extra row and column:
xxy xxy yyy >
Answer to the first question:
Use numpy.append.
http://docs.scipy.org/doc/numpy/reference/generated/numpy.append.html#numpy.append
Answer to the second question:
Use numpy.delete
http://docs.scipy.org/doc/numpy/reference/generated/numpy.delete.html