Example 1:
x, y = np.ogrid[:3, :4] print(x, y) ''' [[0] [1] [2]] [[0 1 2 3]] '''
You must be logged in to post a comment.