Back to Numerical Arrays (NumPy)
np.zeros
Create a new NDArray filled with zeros.
Syntax
np.zeros(shape, options?)
Description
Create a new NDArray filled with zeros.
Parameters
| Name | Description |
|---|---|
| shape | - Array dimensions |
| options(optional) | - Optional configuration (dtype) |
Returns
Promise<NDArray>