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 TableSummarizer. 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 TableCrossTab. 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 TableCrossTab. counts(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)Returns a table containing two-dimensional cross-tabulated counts for each combination of values incolumn1andcolumn2SummarizerSummarizer. groupBy(CategoricalColumn<?>... columns)TODO: research how the groupBy() methods differ from the by() methods? Are they synonyms?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 columnsstatic TableCrossTab. 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 TableCrossTab. 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 classBooleanColumnA column that contains boolean valuesclassDateColumnA column that contains int-encoded local date valuesclassDateTimeColumnA column that contains long-integer encoded (packed) local date-time valuesclassInstantColumnA column that contains long-integer encoded (packed) instant values.classIntColumnA column that contains int valuesclassLongColumnA column that contains long valuesclassShortColumnA column that contains short valuesclassStringColumnA column that contains String values.classTimeColumnA 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 TableTable. 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 valueTableTable. 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 column2TableSliceGroupTable. 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 StandardTableSliceGroupStandardTableSliceGroup. create(Table original, CategoricalColumn<?>... columns)Returns a viewGroup splitting the original table on the given columns.
-