Package | Description |
---|---|
tech.tablesaw.aggregate | |
tech.tablesaw.api | |
tech.tablesaw.table |
Modifier and Type | Class | Description |
---|---|---|
class |
BooleanAggregateFunction |
A partial implementation of aggregate functions to summarize over a boolean column
|
class |
DateAggregateFunction |
A partial implementation of aggregate functions to summarize over a date column
|
class |
DateTimeAggregateFunction |
A partial implementation of aggregate functions to summarize over a dateTime column
|
class |
InstantAggregateFunction |
A partial implementation of aggregate functions to summarize over an instant column
|
class |
NumericAggregateFunction |
A partial implementation of aggregate functions to summarize over a numeric column
|
class |
StringFunction |
A partial implementation of aggregate functions to summarize over a date column
|
class |
TimeAggregateFunction |
A partial implementation of aggregate functions to summarize over a time column
|
Modifier and Type | Method | Description |
---|---|---|
static Table |
PivotTable.pivot(Table table,
CategoricalColumn<?> column1,
CategoricalColumn<?> column2,
NumericColumn<?> values,
AggregateFunction<?,?> aggregateFunction) |
Constructor | Description |
---|---|
Summarizer(Table sourceTable,
List<String> columnNames,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given column in the given sourceTable, by applying
the given functions
|
Summarizer(Table sourceTable,
Column<?> column,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given column in the given sourceTable, by applying
the given functions
|
Summarizer(Table sourceTable,
Column<?> column1,
Column<?> column2,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given columns in the given sourceTable, by
applying the given functions
|
Summarizer(Table sourceTable,
Column<?> column1,
Column<?> column2,
Column<?> column3,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given column2 in the given sourceTable, by
applying the given functions
|
Summarizer(Table sourceTable,
Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given columns in the given sourceTable, by
applying the given functions
|
Modifier and Type | Method | Description |
---|---|---|
Table |
Table.pivot(String column1Name,
String column2Name,
String column3Name,
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
|
Table |
Table.pivot(CategoricalColumn<?> column1,
CategoricalColumn<?> column2,
NumericColumn<?> 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
|
Summarizer |
Table.summarize(String col1Name,
String col2Name,
String col3Name,
String col4Name,
AggregateFunction<?,?>... functions) |
|
Summarizer |
Table.summarize(String col1Name,
String col2Name,
String col3Name,
AggregateFunction<?,?>... functions) |
|
Summarizer |
Table.summarize(String numericColumn1Name,
String numericColumn2Name,
AggregateFunction<?,?>... functions) |
|
Summarizer |
Table.summarize(String columName,
AggregateFunction<?,?>... functions) |
|
Summarizer |
Table.summarize(List<String> columnNames,
AggregateFunction<?,?>... functions) |
|
Summarizer |
Table.summarize(Column<?> numberColumn,
AggregateFunction<?,?>... function) |
|
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
AggregateFunction<?,?>... function) |
|
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
AggregateFunction<?,?>... function) |
|
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... function) |
Modifier and Type | Method | Description |
---|---|---|
Table |
TableSliceGroup.aggregate(String colName1,
AggregateFunction<?,?>... functions) |
Applies the given aggregation to the given column.
|
<INCOL extends Column<?>,OUT> |
RollingColumn.calc(AggregateFunction<INCOL,OUT> function) |
|
protected String |
RollingColumn.generateNewColumnName(AggregateFunction<?,?> function) |
Modifier and Type | Method | Description |
---|---|---|
Table |
TableSliceGroup.aggregate(com.google.common.collect.ListMultimap<String,AggregateFunction<?,?>> functions) |
Applies the given aggregations to the given columns.
|
Copyright © 2021. All rights reserved.