Uses of Interface
tech.tablesaw.api.CategoricalColumn
Packages that use CategoricalColumn
Package
Description
-
Uses of CategoricalColumn in tech.tablesaw.aggregate
Methods in tech.tablesaw.aggregate with parameters of type CategoricalColumnModifier and TypeMethodDescriptionSummarizer.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.groupBy
(CategoricalColumn<?>... columns) TODO: research how the groupBy() methods differ from the by() methods?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 CategoricalColumnModifier and TypeClassDescriptionclass
A column that contains boolean valuesclass
A column that contains int-encoded local date valuesclass
A column that contains long-integer encoded (packed) local date-time valuesclass
A column that contains long-integer encoded (packed) instant values.class
A column that contains int valuesclass
A column that contains long valuesclass
A column that contains short valuesclass
A column that contains String values.class
A column that contains String values.class
A column that contains int-encoded local time valuesMethods in tech.tablesaw.api that return types with arguments of type CategoricalColumnModifier and TypeMethodDescriptionTable.categoricalColumns
(String... columnNames) Returns only the columns whose names are given in the input arrayMethods in tech.tablesaw.api with parameters of type CategoricalColumnModifier and TypeMethodDescriptionTable.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.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 column2Table.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.columns.strings
Classes in tech.tablesaw.columns.strings that implement CategoricalColumnModifier and TypeClassDescriptionclass
AbstractStringColumn<C extends AbstractColumn<C,
String>> Abstract super class for Text like columns. -
Uses of CategoricalColumn in tech.tablesaw.table
Methods in tech.tablesaw.table that return CategoricalColumnModifier and TypeMethodDescriptionRelation.categoricalColumn
(int columnNumber) Returns the CategoricalColumn at the given 0-based index if present.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 CategoricalColumnModifier and TypeMethodDescriptionRelation.categoricalColumns
(String... columnName) Returns the columns whose names are given in the input arrayMethods in tech.tablesaw.table with parameters of type CategoricalColumnModifier and TypeMethodDescriptionstatic StandardTableSliceGroup
StandardTableSliceGroup.create
(Table original, CategoricalColumn<?>... columns) Returns a viewGroup splitting the original table on the given columns.