def ones(shape, dtype=None, order='C') Inferred type: (shape: Union[int, Iterable[int]], dtype: Optional[object], order: Optional[str]) -> ndarray