Files
openide/python/testData/quickdoc/NumPyOnesDoc.html
T

5 lines
492 B
HTML

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