read Delim
fun <T, D : Dim2> Multik.readDelim( inStream: InputStream, dtype: DataType?, dim: Dim2?, delimiter: Char = ',', charset: Charset, isCompressed: Boolean = false): NDArray<T, D>
Content copied to clipboard
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
in Stream
data input stream from file
dtype
NDArray element type
dim
dimension of NDArray
delimiter
separator between elements
is Compressed
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>
Content copied to clipboard
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