Uses of Interface
tech.tablesaw.api.CategoricalColumn
-
Packages that use CategoricalColumn Package Description tech.tablesaw.aggregate tech.tablesaw.api tech.tablesaw.table -
-
Uses of CategoricalColumn in tech.tablesaw.aggregate
Methods in tech.tablesaw.aggregate with parameters of type CategoricalColumn Modifier and Type Method Description Table
Summarizer. by(CategoricalColumn<?>... columns)
Similar in intent to the SQL "group by" statement, it produces a table with one row for each subgroup of the output data containing the result of applying the summary functions to the subgroupstatic Table
CrossTab. columnPercents(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
Returns a table containing the column percents made from a source table, after first calculating the counts cross-tabulated from the given columnsstatic Table
CrossTab. counts(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
Returns a table containing two-dimensional cross-tabulated counts for each combination of values incolumn1
andcolumn2
Summarizer
Summarizer. groupBy(CategoricalColumn<?>... columns)
TODO: research how the groupBy() methods differ from the by() methods? Are they synonyms?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 theaggregateFunction
when applied to thevalues column
grouping by the key columnsstatic Table
CrossTab. rowPercents(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
Returns a table containing the row percents made from a source table, after first calculating the counts cross-tabulated from the given columnsstatic Table
CrossTab. tablePercents(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
Returns a table containing the table percents made from a source table, after first calculating the counts cross-tabulated from the given columns -
Uses of CategoricalColumn in tech.tablesaw.api
Classes in tech.tablesaw.api that implement CategoricalColumn Modifier and Type Class Description class
BooleanColumn
A column that contains boolean valuesclass
DateColumn
A column that contains int-encoded local date valuesclass
DateTimeColumn
A column that contains long-integer encoded (packed) local date-time valuesclass
InstantColumn
A column that contains long-integer encoded (packed) instant values.class
IntColumn
A column that contains int valuesclass
LongColumn
A column that contains long valuesclass
ShortColumn
A column that contains short valuesclass
StringColumn
A column that contains String values.class
TimeColumn
A column that contains int-encoded local time valuesMethods in tech.tablesaw.api that return types with arguments of type CategoricalColumn Modifier and Type Method Description List<CategoricalColumn<?>>
Table. categoricalColumns(String... columnNames)
Returns only the columns whose names are given in the input arrayMethods in tech.tablesaw.api with parameters of type CategoricalColumn Modifier and Type Method Description Table
Table. countBy(CategoricalColumn<?>... groupingColumns)
Returns a table containing two columns, the grouping column, and a column named "Count" that contains the counts for each grouping column valueTable
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 column2TableSliceGroup
Table. splitOn(CategoricalColumn<?>... columns)
Returns a non-overlapping and exhaustive collection of "slices" over this table.Table[]
Table. stratifiedSampleSplit(CategoricalColumn<?> column, double table1Proportion)
Splits the table into two stratified samples, this uses the specified column to divide the table into groups, randomly assigning records to each according to the proportion given in trainingProportion. -
Uses of CategoricalColumn in tech.tablesaw.table
Methods in tech.tablesaw.table that return CategoricalColumn Modifier and Type Method Description CategoricalColumn<?>
Relation. categoricalColumn(int columnNumber)
Returns the CategoricalColumn at the given 0-based index if present.CategoricalColumn<?>
Relation. categoricalColumn(String columnName)
Returns a CategoricalColumn with the given name if it is present in this Relation.Methods in tech.tablesaw.table that return types with arguments of type CategoricalColumn Modifier and Type Method Description List<CategoricalColumn<?>>
Relation. categoricalColumns(String... columnName)
Returns the columns whose names are given in the input arrayMethods in tech.tablesaw.table with parameters of type CategoricalColumn Modifier and Type Method Description static StandardTableSliceGroup
StandardTableSliceGroup. create(Table original, CategoricalColumn<?>... columns)
Returns a viewGroup splitting the original table on the given columns.
-