Numpy Gradient 2d, So first, we have to write a function for uneven array creation.