Row data structure used into the dataframe-js.
Convert Row into dict / hash / object.
row.toDict()
Returns Object The Row converted into dict.
Convert Row into Array, loosing column names.
row.toArray()
Returns Array The Row values converted into Array.
Get the Row size.
row.size()
Returns Int The Row length.
Get the Row hash code.
row.hash()
Returns Int The Row hash unique code.
Check if row contains a column.
columnName
String The column to check.
row.has('column1')
Returns Boolean The presence or not of the column.
Select columns into the Row.
columnNames
...String The columns to select.
row.select('column1', 'column2')
Returns Row A new Row containing only the selected columns.
Get a Row value by its column.
columnToGet
String The column value to get.
row.get('column1')
Returns any The selected value.
Set a Row value by its column, or create a new value if column doesn't exist.
columnToSet
String The column value to set.value
row.set('column1', 6)
Returns Row A new Row with the modified / new value.
Delete a Row value by its column.
columnToDel
String The column value to delete.
row.delete('column1')
Returns Row A new Row without the deleted value.