fetchNumericColumn

fun fetchNumericColumn(columnName: String, maxRows: Int = 0, removeMissing: Boolean = false): DoubleArray

Obviously, there are memory issues if there are a lot of rows.

Return

the array of values

Parameters

columnName

the column name to retrieve, must be a numeric column

maxRows

the total number of rows to extract starting at row 1

removeMissing

if true, then missing (NaN values) are removed


fun fetchNumericColumn(columnNum: Int, maxRows: Int = 0, removeMissing: Boolean = false): DoubleArray

Obviously, there are memory issues if there are a lot of rows.

Return

the array of values

Parameters

columnNum

the column number to retrieve, must be between [0,getNumberColumns())

maxRows

the total number of rows to extract starting at row 1

removeMissing

if true, then missing (NaN values) are removed