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 StringColumn TODO: Consider
renaming to StringAggregateFunction for consistency
|
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) |
Returns a table that is a rotation of the given table pivoted around the key columns, and
filling the output cells using the values calculated by the
aggregateFunction when
applied to the values column grouping by the key columns |
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) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(String col1Name,
String col2Name,
String col3Name,
AggregateFunction<?,?>... functions) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(String numericColumn1Name,
String numericColumn2Name,
AggregateFunction<?,?>... functions) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(String columName,
AggregateFunction<?,?>... functions) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(List<String> columnNames,
AggregateFunction<?,?>... functions) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> numberColumn,
AggregateFunction<?,?>... function) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
AggregateFunction<?,?>... function) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
AggregateFunction<?,?>... function) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... function) |
Returns an
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
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.