iarray.ones# iarray.ones(shape: Sequence, cfg: Optional[Config] = None, **kwargs) → IArray# Return a new array of given shape and type, filled with ones. shape, cfg and kwargs are the same than for empty(). Returns The new array. Return type IArray container See also emptyCreate an empty array. zerosCreate an array filled with zeros.