Back to Numerical Arrays (NumPy)
np.recFromfile
Create a record array from a file.
Syntax
np.recFromfile(file, dtype, shape?, offset?)
Description
Create a record array from a file.
Parameters
| Name | Description |
|---|---|
| file | - File path (Node.js) or File object (browser) |
| dtype | - Structured dtype |
| shape(optional) | - Shape of output array |
| offset(optional) | - Byte offset into file |
Returns
Promise<recarray>