Method #1: use None (or np.newaxis) to add an extra dimension so that broadcasting will behave: >>> e array([[ 0., 1.], [ 2., 4.], [ 1., 5.]
確定! 回上一頁