Package | Description |
---|---|
tech.tablesaw.aggregate | |
tech.tablesaw.api | |
tech.tablesaw.table |
Modifier and Type | Method and Description |
---|---|
static Table |
PivotTable.pivot(Table table,
CategoricalColumn<?> column1,
CategoricalColumn<?> column2,
NumberColumn<?> values,
AggregateFunction<?,?> aggregateFunction) |
Modifier and Type | Class and Description |
---|---|
class |
DoubleColumn |
class |
FloatColumn |
class |
IntColumn |
class |
LongColumn |
class |
ShortColumn |
Modifier and Type | Method and Description |
---|---|
abstract NumberColumn<T> |
NumberColumn.appendMissing() |
abstract NumberColumn<T> |
NumberColumn.copy() |
protected abstract NumberColumn<T> |
NumberColumn.createCol(String name) |
protected abstract NumberColumn<T> |
NumberColumn.createCol(String name,
int size) |
NumberColumn<T> |
NumberColumn.emptyCopy() |
NumberColumn<T> |
NumberColumn.emptyCopy(int rowSize) |
NumberColumn<T> |
NumberColumn.inRange(int start,
int end) |
NumberColumn<T> |
NumberColumn.set(DoublePredicate condition,
NumberColumn<T> other)
Updates this column where values matching the selection are replaced with the corresponding
value from the given column
|
NumberColumn<T> |
NumberColumn.set(DoublePredicate condition,
T newValue) |
Modifier and Type | Method and Description |
---|---|
Table |
Table.pivot(CategoricalColumn<?> column1,
CategoricalColumn<?> column2,
NumberColumn<?> column3,
AggregateFunction<?,?> aggregateFunction)
Returns a pivot on this table, where: The first column contains unique values from the index
column1 There are n additional columns, one for each unique value in column2 The values in each
of the cells in these new columns are the result of applying the given AggregateFunction to the
data in column3, grouped by the values of column1 and column2
|
FloatColumn |
FloatColumn.set(DoublePredicate condition,
NumberColumn<Float> other) |
IntColumn |
IntColumn.set(DoublePredicate condition,
NumberColumn<Integer> other) |
LongColumn |
LongColumn.set(DoublePredicate condition,
NumberColumn<Long> other) |
ShortColumn |
ShortColumn.set(DoublePredicate condition,
NumberColumn<Short> other) |
NumberColumn<T> |
NumberColumn.set(DoublePredicate condition,
NumberColumn<T> other)
Updates this column where values matching the selection are replaced with the corresponding
value from the given column
|
Modifier and Type | Method and Description |
---|---|
NumberColumn<?> |
Relation.nCol(int columnIndex)
Returns the column with the given name cast to a NumberColumn
|
NumberColumn<?> |
Relation.nCol(String columnName)
Returns the column with the given name cast to a NumberColumn
|
NumberColumn<?> |
Relation.numberColumn(int columnIndex)
Returns the NumberColumn at the given index.
|
NumberColumn<?> |
Relation.numberColumn(String columnName) |
Copyright © 2019. All rights reserved.