Uses of Class
tech.tablesaw.aggregate.AggregateFunction
-
Packages that use AggregateFunction Package Description tech.tablesaw.aggregate tech.tablesaw.api tech.tablesaw.table -
-
Uses of AggregateFunction in tech.tablesaw.aggregate
Subclasses of AggregateFunction in tech.tablesaw.aggregate Modifier and Type Class Description classAnyIntAggregateFunctionPartial implementation of AggregateFunction that returns an integer when applied to a column of any typeclassBooleanAggregateFunctionA partial implementation of aggregate functions to summarize over a boolean columnclassBooleanDoubleAggregateFunctionPartial implementation of Aggregate function that returns a Double value when applied to a BooleanColumnclassBooleanIntAggregateFunctionA partial implementation of an AggregateFunction that returns an Integer value when applied to a Boolean ColumnclassDateAggregateFunctionA partial implementation of aggregate functions to summarize over a date columnclassDateTimeAggregateFunctionA partial implementation of aggregate functions to summarize over a dateTime columnclassInstantAggregateFunctionA partial implementation of aggregate functions to summarize over an instant columnclassNumericAggregateFunctionA partial implementation of aggregate functions to summarize over a numeric columnclassStringAggregateFunctionA partial implementation of aggregate functions to summarize over a StringColumn and return a StringclassTimeAggregateFunctionA partial implementation of aggregate functions to summarize over a time columnMethods in tech.tablesaw.aggregate with parameters of type AggregateFunction Modifier and Type Method Description static TablePivotTable. 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 theaggregateFunctionwhen applied to thevalues columngrouping by the key columnsConstructors in tech.tablesaw.aggregate with parameters of type 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 functionsSummarizer(Table sourceTable, Column<?> column, AggregateFunction<?,?>... functions)Returns an object capable of summarizing the given column in the given sourceTable, by applying the given functionsSummarizer(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 functionsSummarizer(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 functionsSummarizer(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 -
Uses of AggregateFunction in tech.tablesaw.api
Methods in tech.tablesaw.api with parameters of type AggregateFunction Modifier and Type Method Description TableTable. 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 column2TableTable. 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 column2SummarizerTable. summarize(String col1Name, String col2Name, String col3Name, String col4Name, AggregateFunction<?,?>... functions)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(String col1Name, String col2Name, String col3Name, AggregateFunction<?,?>... functions)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(String numericColumn1Name, String numericColumn2Name, AggregateFunction<?,?>... functions)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(String columName, AggregateFunction<?,?>... functions)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(List<String> columnNames, AggregateFunction<?,?>... functions)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(Column<?> numberColumn, AggregateFunction<?,?>... function)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(Column<?> column1, Column<?> column2, AggregateFunction<?,?>... function)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(Column<?> column1, Column<?> column2, Column<?> column3, AggregateFunction<?,?>... function)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions.SummarizerTable. summarize(Column<?> column1, Column<?> column2, Column<?> column3, Column<?> column4, AggregateFunction<?,?>... function)Returns aSummarizerthat can be used to summarize the column with the given name(s) using the given functions. -
Uses of AggregateFunction in tech.tablesaw.table
Methods in tech.tablesaw.table with parameters of type AggregateFunction Modifier and Type Method Description TableTableSliceGroup. aggregate(String colName1, AggregateFunction<?,?>... functions)Applies the given aggregation to the given column.<INCOL extends Column<?>,OUT>
Column<?>RollingColumn. calc(AggregateFunction<INCOL,OUT> function)Performs the calculation and returns a new column containing the resultsprotected StringRollingColumn. generateNewColumnName(AggregateFunction<?,?> function)Generates a name for the column based on the name of the original column and the function used in the calculationMethod parameters in tech.tablesaw.table with type arguments of type AggregateFunction Modifier and Type Method Description TableTableSliceGroup. aggregate(com.google.common.collect.ListMultimap<String,AggregateFunction<?,?>> functions)Applies the given aggregations to the given columns.
-