def ones(shape, dtype=None, order='C') Inferred type: (shape: Union[int, Iterable[int]], dtype: Optional[object], order: Optional[str]) -> ndarray
**Test docstring** Return a new array of given shape and type, filled with ones.