grids = [numpy.arange(1, 4, dtype=numpy.int8), numpy.arange(1, 5, dtype=
    numpy.int8)]
print(grids)
print(grids[0].dtype, grids[0].nbytes)
x1, y1 = numpy.meshgrid(copy=False, *grids)
How do I stop numpy meshgrid from setting the default datatype to int64