Files
openide/python/testData/quickdoc/NumPyOnesDoc.html
2015-09-02 14:34:25 +03:00

5 lines
426 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;<a href="psi_element://#typename#object">object</a>,&nbsp;order:&nbsp;<a href="psi_element://#typename#str">str</a>)&nbsp;-&gt;&nbsp;ndarray<br>
**Test docstring**
Return a new array of given shape and type, filled with ones.