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