public class ValRow extends Val
Constructor and Description |
---|
ValRow(double[] ds,
java.lang.String[] names) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getNames() |
double[] |
getNums() |
double[] |
getRow() |
boolean |
isRow() |
ValRow |
slice(int[] cols)
Creates a new ValRow by selecting elements at the specified indices.
|
java.lang.String |
toString() |
int |
type() |
getBool, getFrame, getFun, getKeyed, getMapFrame, getModel, getNum, getStr, getStrs, isEmpty, isFrame, isFun, isKeyed, isMapFrame, isModel, isNum, isNums, isStr, isStrs
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String[] getNames()
public ValRow slice(int[] cols)
cols
- array of indices to select. We do not check for AIOOB errors.