Back to Numerical Arrays (NumPy)
np.loadtxt
Load data from a text file.
Syntax
np.loadtxt(file, options?)
Description
Load data from a text file. Each row in the text file must have the same number of values.
Parameters
| Name | Description |
|---|---|
| file | - File source (path, File object, or URL) |
| options(optional) | - Parsing options |
Returns
Promise<NDArray>