Zeros.init (function)
def __init__(self, shape, unit=None)
This is available as a top-level convenience function as nparray.zeros or nparray.zeros_like.
Arguments
shape
(int or sequence of ints): Shape of the new array, e.g.,(2, 3)
or2
.unit
(astropy unit or string, optional, default=None): unit corresponding to the passed values.