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() |
getFrame, getFun, getMapFrame, getModel, getNum, getStr, getStrs, isFrame, isFun, isMapFrame, isModel, isNum, isNums, isStr, isStrsasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSONpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String[] getNames()
public ValRow slice(int[] cols)
cols - array of indices to select. We do not check for AIOOB errors.