read

inline fun <T : Any, D : Dim2> Multik.read(    fileName: String,     delimiter: Char = ',',     charset: Charset = Charsets.UTF_8): NDArray<T, D>

Returns an NDArray of type T and D dimension read from csv file.

Parameters

T

NDArray element type

D

dimension of NDArray. It can be 1 or 2

fileName

file path including file name and extensions

delimiter

separator between elements

charset

character encoding, by default is UTF_8


fun <T, D : Dim2> Multik.read(    fileName: String,     dtype: DataType,     dim: Dim2,     delimiter: Char = ',',     charset: Charset = Charsets.UTF_8): NDArray<T, D>

Returns an NDArray of type T and D dimension read from csv file.

Parameters

T

NDArray element type

D

dimension of NDArray. It can be 1 or 2

fileName

file path including file name and extensions

dtype

NDArray element type

delimiter

separator between elements

charset

character encoding, by default is UTF_8


inline fun <T : Any, D : Dim2> Multik.read(    file: File,     delimiter: Char = ',',     charset: Charset = Charsets.UTF_8): NDArray<T, D>

Returns an NDArray of type T and D dimension read from csv file.

Parameters

T

NDArray element type

D

dimension of NDArray. It can be 1 or 2

file

csv file

delimiter

separator between elements

charset

character encoding, by default is UTF_8


fun <T, D : Dim2> Multik.read(    file: File,     dtype: DataType,     dim: Dim2,     delimiter: Char = ',',     charset: Charset = Charsets.UTF_8): NDArray<T, D>

Returns an NDArray of type T and D dimension read from csv file.

Parameters

T

NDArray element type

D

dimension of NDArray. It can be 1 or 2

dtype

NDArray element type

file

csv file

delimiter

separator between elements

charset

character encoding, by default is UTF_8