readDelim

fun <T, D : Dim2> Multik.readDelim(    inStream: InputStream,     dtype: DataType?,     dim: Dim2?,     delimiter: Char = ',',     charset: Charset,     isCompressed: Boolean = false): 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

inStream

data input stream from file

dtype

NDArray element type

dim

dimension of NDArray

delimiter

separator between elements

isCompressed

shows whether the data is compressed, by default is false


fun <T, D : Dim2> Multik.readDelim(    reader: Reader,     format: CSVFormat = CSVFormat.DEFAULT,     dtype: DataType?,     dim: Dim2?): 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

reader

reading character-input streams

format

csv format from apache

dtype

NDArray element type

dim

dimension of NDArray