def shape_to_string(shape):
    return "({0})".format(", ".join(str(int(item)) for item in shape))
On Windows, shape tuples use long ints which results in formatted shapes
dataset/ETHPy150Open glue-viz/glue/glue/utils/array.py/shape_to_string