ogrid VS mgrid - ogrid np.ogrid[row(list of size), column(a single list)] np.ogrid[0:3, 0:5] >>> array([[0], [1], [2]]) array([[0, 1, 2, 3, 4]]) - mgrid np.mgrid[row(filled with the same number by row), column(filled with the same number by column)] np.mgrid[0:3, 0:5] >>> array([[[0, 0, 0, 0, 0], [1, 1, 1, 1, 1], [2, 2, 2, 2, 2]], [[0, 1, 2, 3, 4], [0, 1, 2, 3, 4], [0, 1, 2, 3, 4]]]) ogrid VS mg..