To add a new axis, a solution is to use [numpy.newaxis](): A = A[:,np.newaxis] Then if we now check the shape of matrix A:
確定! 回上一頁