Uses of Class
tech.tablesaw.api.Table
-
-
Uses of Table in tech.tablesaw.aggregate
Methods in tech.tablesaw.aggregate that return Table Modifier and Type Method Description TableSummarizer. apply()Returns the result of applying to the functions to all the values in the appropriate column TODO add a test that uses a non numeric return type with applyTableSummarizer. by(int step)Returns a summary of the records grouped into subsets of the same size, in the order they appearTableSummarizer. by(String... columnNames)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 subgroupTableSummarizer. 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, String column1, String 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. 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, String columnName)Returns a Table containing counts of records in the given Table grouped by the given columnName See alsocountBy(String...)static TableCrossTab. counts(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)Returns a table containing two-dimensional cross-tabulated counts for each combination of values incolumn1andcolumn2TableSummarizer. having(Function<Table,Selection> selection)Similar in intent to the SQL having command, it enables the user to apply a filter to the grouped results of summary.static TableCrossTab. percents(Table table, String column1)Returns a Table containing the proportion of records in the given Table grouped by the given column TODO: Consider renaming to proportionsstatic 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, String column1, String 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. 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, String column1, String column2)Returns a table containing the table 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 columnsMethods in tech.tablesaw.aggregate with parameters of type Table Modifier and Type Method Description static TableCrossTab. columnPercents(Table table, String column1, String 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. 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, String columnName)Returns a Table containing counts of records in the given Table grouped by the given columnName See alsocountBy(String...)static TableCrossTab. counts(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)Returns a table containing two-dimensional cross-tabulated counts for each combination of values incolumn1andcolumn2static TableCrossTab. percents(Table table, String column1)Returns a Table containing the proportion of records in the given Table grouped by the given column TODO: Consider renaming to proportionsstatic 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, String column1, String 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. 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, String column1, String column2)Returns a table containing the table 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 columnsMethod parameters in tech.tablesaw.aggregate with type arguments of type Table Modifier and Type Method Description TableSummarizer. having(Function<Table,Selection> selection)Similar in intent to the SQL having command, it enables the user to apply a filter to the grouped results of summary.Constructors in tech.tablesaw.aggregate with parameters of type Table 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 Table in tech.tablesaw.analytic
Methods in tech.tablesaw.analytic that return Table Modifier and Type Method Description TableAnalyticQuery. execute()Executes the query adding all the calculated columns to a new table.TableAnalyticQuerySteps.Execute. execute()Executes the query adding all the calculated columns to a new table.TableAnalyticQuery. getTable()The Table behind the query.Methods in tech.tablesaw.analytic with parameters of type Table Modifier and Type Method Description AnalyticQuerySteps.FullAnalyticQuerySteps.PartitionByStepAnalyticQuerySteps.FullAnalyticQuerySteps.FromStep. from(Table table)Set the From/Source Table name to use in the query.AnalyticQuerySteps.NumberingQuerySteps.PartitionByStepAnalyticQuerySteps.NumberingQuerySteps.FromStep. from(Table table)Set the From/Source Table name to use in the query.AnalyticQuerySteps.DefineWindowFameAnalyticQuerySteps.QuickQuerySteps.FromStep. from(Table table)Set the From/Source Table name to use in the query. -
Uses of Table in tech.tablesaw.api
Methods in tech.tablesaw.api that return Table Modifier and Type Method Description TableTable. addColumns(Column<?>... cols)Adds the given column to this table.TableTable. append(Row row)Appends the given row to this table and returns the table.TableTable. append(Relation tableToAppend)Returns this table after adding the data from the argumentTableTable. cast()Cast implements the 'tidy' cast operation as described in these papers by Hadley Wickham:TableTable. concat(Table tableToConcatenate)Add all the columns of tableToConcatenate to this table Note: The columns in the result must have unique names, when compared case insensitive Note: Both tables must have the same number of rowsTableTable. copy()Returns a table with the same columns and data as this tableTableTable. countBy(String... categoricalColumnNames)Returns a table containing a column for each grouping column, and a column named "Count" that contains the counts for each combination of grouping column valuesTableTable. 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 valuedefault TableCategoricalColumn. countByCategory()Returns a count of the number of elements in each category (i.e., the number of repetitions of each value) TODO: This needs to be well tested, especially for IntColumnTableLongColumn. countByCategory()Returns a count of the number of elements in each category (i.e., the number of repetitions of each value) TODO: This needs to be well tested, especially for IntColumnTableStringColumn. countByCategory()Returns a count of the number of elements in each category (i.e., the number of repetitions of each value) TODO: This needs to be well tested, especially for IntColumnstatic TableTable. create()Returns a new, empty table (without rows or columns)static TableTable. create(String tableName)Returns a new, empty table (without rows or columns) with the given namestatic TableTable. create(String name, Collection<Column<?>> columns)Returns a new table with the given columns and given namestatic TableTable. create(String name, Stream<Column<?>> columns)Returns a new table with the given columns and given namestatic TableTable. create(String name, Column<?>... columns)Returns a new table with the given columns and given namestatic TableTable. create(Collection<Column<?>> columns)Returns a new table with the given columnsstatic TableTable. create(Stream<Column<?>> columns)Returns a new table with the given columnsstatic TableTable. create(Column<?>... columns)Returns a new table with the given columnsTableTable. dropDuplicateRows()Returns the unique records in this table, such that any record that appears more than once in this table, appears only once in the returned table.TableTable. dropRange(int rowCount)Returns a new table EXCLUDING the first rowCount rows if rowCount positive.TableTable. dropRange(int rowStart, int rowEnd)Returns a table EXCLUDING the rows contained in the range from rowStart inclusive to rowEnd exclusiveTableTable. dropRows(int... rowNumbers)Returns a table EXCLUDING the rows contained in the given array of row indicesTableTable. dropRowsWithMissingValues()Returns only those records in this table that have no columns with missing valuesTableTable. dropWhere(Function<Table,Selection> selection)Returns a new Table made by EXCLUDING any rows returned when the given function is applied to this tableTableTable. dropWhere(Selection selection)Returns a table EXCLUDING the rows contained in the given SelectionTableTable. emptyCopy()Returns a table with the same columns as this table, but no dataTableTable. emptyCopy(int rowSize)Returns a table with the same columns as this table, but no data, initialized to the given row sizeTableTable. first(int nRows)Returns a new table containing the firstnrowsof data in this tableTableTable. inRange(int rowCount)Returns a new table containing the first rowCount rows if rowCount positive.TableTable. inRange(int rowStart, int rowEnd)Returns a new table containing the rows contained in the range from rowStart inclusive to rowEnd exclusiveTableTable. insertColumn(int index, Column<?> column)Adds the given column to this table at the given position in the column list.TableTable. last(int nRows)Returns a new table containing the lastnrowsof data in this tableTableTable. melt(List<String> idVariables, List<NumericColumn<?>> measuredVariables, boolean dropMissing)Melt implements the 'tidy' melt operation as described in these papers by Hadley Wickham.TableTable. missingValueCounts()Returns a table containing the number of missing values in each column in this tableTableTable. 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 column2TableTable. rejectColumns(int... columnIndexes)Returns a new table containing copies of all the columns from this table, except those at the given indexesTableTable. rejectColumns(String... columnNames)Returns a new table containing copies of all the columns from this table, except those named in the argumentTableTable. rejectColumns(Column<?>... columns)Returns a new table containing copies of all the columns from this table, except those named in the argumentTableTable. removeColumns(int... columnIndexes)Removes the columns at the given indices from this table and returns this tableTableTable. removeColumns(String... columns)Removes the columns with the given names from this table and returns this tableTableTable. removeColumns(Column<?>... columns)Removes the given columns from this table and returns this tableTableTable. removeColumnsWithMissingValues()Removes all columns with missing values from this table, and returns this table.TableTable. reorderColumns(String... columnNames)Return a new table (shallow copy) that contains all the columns in this table, in the order given in the argument.TableTable. replaceColumn(int colIndex, Column<?> newColumn)Replaces an existing column (by index) in this table with the given new columnTableTable. replaceColumn(String columnName, Column<?> newColumn)Replaces an existing column (by name) in this table with the given new columnTableTable. replaceColumn(Column<?> newColumn)Replaces an existing column having the same name of the given column with the given columnTableTable. retainColumns(int... columnIndexes)Removes all columns except for those given in the argument from this table and returns this tableTableTable. retainColumns(String... columnNames)Removes all columns except for those given in the argument from this table and returns this tableTableTable. retainColumns(Column<?>... columns)Removes all columns except for those given in the argument from this table and returns this tableTableTable. rows(int... rowNumbers)Returns a table containing the rows contained in the given array of row indicesTableTable. sampleN(int nRows)Returns a table consisting of randomly selected records from this tableTable[]Table. sampleSplit(double table1Proportion)TableTable. sampleX(double proportion)Returns a table consisting of randomly selected records from this table.TableTable. selectColumns(int... columnIndexes)Returns a new table containing copies of the columns at the given indexesTableTable. selectColumns(String... columnNames)Returns a new table containing copies of the selected columns from this tableTableTable. selectColumns(Column<?>... columns)Returns a new table containing copies of the selected columns from this tableTableTable. setName(String name)Sets the name of the tableTableTable. sortAscendingOn(String... columnNames)Returns a copy of this table sorted in the order of the given column names, in ascending orderTableTable. sortDescendingOn(String... columnNames)Returns a copy of this table sorted on the given column names, applied in order, descending TODO: Provide equivalent methods naming columns by indexTableTable. sortOn(int... columnIndexes)Sorts this table into a new table on the columns indexedTableTable. sortOn(String... columnNames)Returns a copy of this table sorted on the given column names, applied in order,TableTable. sortOn(Comparator<Row> rowComparator)Returns a copy of this table sorted using the given comparatorTableTable. sortOn(Sort key)Returns a copy of this table sorted using the given sort key.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.TableBooleanColumn. summary()Returns a table containing a ColumnType specific summary of the data in this columnTableDateColumn. summary()Returns a table of dates and the number of observations of those datesTableDateTimeColumn. summary()Returns a table containing a ColumnType specific summary of the data in this columnTableInstantColumn. summary()Returns a table containing a ColumnType specific summary of the data in this columndefault TableNumericColumn. summary()Returns a table of common statistical values that together describe the data in this columnTableStringColumn. summary()Returns a table containing a ColumnType specific summary of the data in this columnTableTimeColumn. summary()Returns a table containing a ColumnType specific summary of the data in this columnTableTable. transpose()Transposes data in the table, switching rows for columns.TableTable. transpose(boolean includeColumnHeadingsAsFirstColumn, boolean useFirstColumnForHeadings)Transposes data in the table, switching rows for columns.TableTable. where(Function<Table,Selection> selection)Returns a new Table made by applying the given function to this tableTableTable. where(Selection selection)Returns a table containing the rows contained in the given SelectionTableTable. xTabColumnPercents(String column1Name, String column2Name)Returns a table with n by m + 1 cells.TableTable. xTabCounts(String column1Name)Returns a table with two columns, the first contains a value each unique value in the argument, and the second contains the number of observations of each valueTableTable. xTabCounts(String column1Name, String column2Name)Returns a table with n by m + 1 cells.TableTable. xTabPercents(String column1Name)TODO: Rename the method to xTabProportions, deprecating this version Returns a table with two columns, the first contains a value each unique value in the argument, and the second contains the proportion of observations having that valueTableTable. xTabRowPercents(String column1Name, String column2Name)Returns a table with n by m + 1 cells.TableTable. xTabTablePercents(String column1Name, String column2Name)Returns a table with n by m + 1 cells.Methods in tech.tablesaw.api that return types with arguments of type Table Modifier and Type Method Description static Function<Table,Selection>QuerySupport. all(Function<Table,Selection>... deferredSelections)Returns a selection for all records that match all of the given functions.static Function<Table,Selection>QuerySupport. and(Function<Table,Selection>... deferredSelections)Returns a selection for all records that match all of the given functionsstatic Function<Table,Selection>QuerySupport. any(Function<Table,Selection>... deferredSelections)Returns a selection for all records that match any of the given functions.static Function<Table,Selection>QuerySupport. both(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that match both of the given functionsstatic Function<Table,Selection>QuerySupport. either(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that match either of the given functionsstatic Function<Table,Selection>QuerySupport. neither(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that match neither of the given functions.static Function<Table,Selection>QuerySupport. not(Function<Table,Selection> deferredSelection)Returns a selection for all records for which the given function isfalsestatic Function<Table,Selection>QuerySupport. notAll(Function<Table,Selection>... deferredSelections)Returns a selection for all records that don't match all of the given functionsstatic Function<Table,Selection>QuerySupport. notAny(Function<Table,Selection>... deferredSelections)Returns a selection for all records that don't match any of the given functionsstatic Function<Table,Selection>QuerySupport. notBoth(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that don't match both of the given functions.static Function<Table,Selection>QuerySupport. or(Function<Table,Selection>... deferredSelections)Returns a selection for all records that match any of the given functionsMethods in tech.tablesaw.api with parameters of type Table Modifier and Type Method Description voidTable. addRow(int rowIndex, Table sourceTable)Adds a single row to this table from sourceTable, copying every column in sourceTablestatic booleanTable. compareRows(int rowNumber, Table table1, Table table2)Returnstrueif the rowrowNumberintable1holds the same values than the row atrowNumberintable2.TableTable. concat(Table tableToConcatenate)Add all the columns of tableToConcatenate to this table Note: The columns in the result must have unique names, when compared case insensitive Note: Both tables must have the same number of rowsvoidTable. copyRowsToTable(int[] rows, Table newTable)Copies the rows indicated by the row index values in the given array from oldTable to newTablevoidTable. copyRowsToTable(Selection rows, Table newTable)Copies the rows specified by Selection into newTableMethod parameters in tech.tablesaw.api with type arguments of type Table Modifier and Type Method Description static Function<Table,Selection>QuerySupport. both(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that match both of the given functionsTableTable. dropWhere(Function<Table,Selection> selection)Returns a new Table made by EXCLUDING any rows returned when the given function is applied to this tablestatic Function<Table,Selection>QuerySupport. either(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that match either of the given functionsstatic Function<Table,Selection>QuerySupport. neither(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that match neither of the given functions.static Function<Table,Selection>QuerySupport. not(Function<Table,Selection> deferredSelection)Returns a selection for all records for which the given function isfalsestatic Function<Table,Selection>QuerySupport. notBoth(Function<Table,Selection> sel1, Function<Table,Selection> sel2)Returns a selection for all records that don't match both of the given functions.TableTable. where(Function<Table,Selection> selection)Returns a new Table made by applying the given function to this tableConstructors in tech.tablesaw.api with parameters of type Table Constructor Description Row(Table table)Constructs a Row object for the given tableRow(Table table, int rowNumber)Constructs a Row object for the given Table, with the Row positioned at the given 0-based index -
Uses of Table in tech.tablesaw.columns
Methods in tech.tablesaw.columns that return Table Modifier and Type Method Description TableColumn. summary()Returns a table containing a ColumnType specific summary of the data in this column -
Uses of Table in tech.tablesaw.columns.numbers
Methods in tech.tablesaw.columns.numbers that return Table Modifier and Type Method Description TableStats. asTable()Returns the most common calculated statistics in tabular formTableStats. asTableComplete()Returns all the calculated statistics in tabular form -
Uses of Table in tech.tablesaw.columns.strings
Methods in tech.tablesaw.columns.strings that return Table Modifier and Type Method Description TableByteDictionaryMap. countByCategory(String columnName)TableDictionaryMap. countByCategory(String columnName)TableIntDictionaryMap. countByCategory(String columnName)TableNullDictionaryMap. countByCategory(String columnName)TableShortDictionaryMap. countByCategory(String columnName)TableStringData. countByCategory(String columnName)TableTextualStringData. countByCategory(String columnName)TableTextualStringData. summary() -
Uses of Table in tech.tablesaw.filtering
Methods in tech.tablesaw.filtering with parameters of type Table Modifier and Type Method Description SelectionAnd. apply(Table table)SelectionNot. apply(Table table)SelectionOr. apply(Table table)Constructor parameters in tech.tablesaw.filtering with type arguments of type Table Constructor Description Not(Function<Table,Selection> argument) -
Uses of Table in tech.tablesaw.io
Methods in tech.tablesaw.io that return Table Modifier and Type Method Description static TableTableBuildingUtils. build(List<String> columnNames, List<String[]> dataRows, ReadOptions options)TableDataFrameReader. csv(File file)TableDataFrameReader. csv(InputStream stream)TableDataFrameReader. csv(InputStream stream, String name)TableDataFrameReader. csv(Reader reader)TableDataFrameReader. csv(String file)TableDataFrameReader. csv(String contents, String tableName)TableDataFrameReader. csv(URL url)TableDataFrameReader. csv(CsvReadOptions options)TableDataFrameReader. csv(CsvReadOptions.Builder options)TableDataFrameReader. db(ResultSet resultSet)TableDataFrameReader. db(ResultSet resultSet, String tableName)TableDataFrameReader. file(File file)Reads the given file into a table using default options Uses converter specified based on given file extension UseusingOptionsto use non-default optionsTableDataFrameReader. file(String file)Reads the given file into a table using default options Uses converter specified based on given file extension UseusingOptionsto use non-default optionsprotected TableFileReader. parseRows(ReadOptions options, boolean headerOnly, Reader reader, ReadOptions.ColumnTypeReadOptions columnTypeReadOptions, com.univocity.parsers.common.AbstractParser<?> parser)protected TableFileReader. parseRows(ReadOptions options, boolean headerOnly, Reader reader, ReadOptions.ColumnTypeReadOptions columnTypeReadOptions, com.univocity.parsers.common.AbstractParser<?> parser, int sampleSize)TableDataReader. read(O options)TableDataReader. read(Source source)TableDataFrameReader. string(String s, String fileExtension)Reads the given string contents into a table using default options Uses converter specified based on given file extension UseusingOptionsto use non-default optionsTableDataFrameReader. url(String url)Reads the given URL into a table using default options Uses appropriate converter based on mime-type UseusingOptionsto use non-default optionsTableDataFrameReader. url(URL url)Reads the given URL into a table using default options Uses appropriate converter based on mime-type UseusingOptionsto use non-default options<T extends ReadOptions>
TableDataFrameReader. usingOptions(T options)TableDataFrameReader. usingOptions(ReadOptions.Builder builder)Methods in tech.tablesaw.io with parameters of type Table Modifier and Type Method Description protected StringFileReader. getTypeString(Table structure)voidDataWriter. write(Table table, O options)voidDataWriter. write(Table table, Destination dest)Constructors in tech.tablesaw.io with parameters of type Table Constructor Description DataFrameWriter(WriterRegistry registry, Table table) -
Uses of Table in tech.tablesaw.io.csv
Methods in tech.tablesaw.io.csv that return Table Modifier and Type Method Description TableCsvReader. read(CsvReadOptions options)TableCsvReader. read(Source source)Methods in tech.tablesaw.io.csv with parameters of type Table Modifier and Type Method Description voidCsvWriter. write(Table table, CsvWriteOptions options)voidCsvWriter. write(Table table, Destination dest) -
Uses of Table in tech.tablesaw.io.fixed
Methods in tech.tablesaw.io.fixed that return Table Modifier and Type Method Description TableFixedWidthReader. read(FixedWidthReadOptions options)TableFixedWidthReader. read(Source source)Methods in tech.tablesaw.io.fixed with parameters of type Table Modifier and Type Method Description voidFixedWidthWriter. write(Table table, Destination dest)voidFixedWidthWriter. write(Table table, FixedWidthWriteOptions options) -
Uses of Table in tech.tablesaw.io.jdbc
Methods in tech.tablesaw.io.jdbc that return Table Modifier and Type Method Description static TableSqlResultSetReader. read(ResultSet resultSet)Returns a new table with the given tableName, constructed from the given result set -
Uses of Table in tech.tablesaw.joining
Methods in tech.tablesaw.joining that return Table Modifier and Type Method Description TableAbstractJoiner. fullOuter(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. fullOuter(Table... tables)Deprecated.TableAbstractJoiner. fullOuter(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. fullOuter(Table table2, String col2Name)Deprecated.TableAbstractJoiner. inner(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. inner(Table... tables)Deprecated.TableAbstractJoiner. inner(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. inner(Table table2, boolean allowDuplicateColumnNames, String... col2Names)Deprecated.TableAbstractJoiner. inner(Table table2, String col2Name)Deprecated.TableAbstractJoiner. inner(Table table2, String[] col2Names)Deprecated.TableAbstractJoiner. inner(Table table2, String col2Name, boolean allowDuplicateColumnNames)Deprecated.abstract TableAbstractJoiner. join()TableDataFrameJoiner. join()Performs the actual join and returns the resultsTableAbstractJoiner. leftOuter(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. leftOuter(Table... tables)Deprecated.TableAbstractJoiner. leftOuter(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. leftOuter(Table table2, boolean allowDuplicateColumnNames, String... col2Names)Deprecated.TableAbstractJoiner. leftOuter(Table table2, String col2Name)Deprecated.TableAbstractJoiner. leftOuter(Table table2, String[] col2Names)Deprecated.TableCrossProductJoin. performJoin(Table table1, Table table2, JoinType joinType, boolean allowDuplicates, boolean keepAllJoinKeyColumns, int[] leftJoinColumnIndexes, String... table2JoinColumnNames)Joins two tables.TableAbstractJoiner. rightOuter(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. rightOuter(Table... tables)Deprecated.TableAbstractJoiner. rightOuter(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. rightOuter(Table table2, boolean allowDuplicateColumnNames, String... col2Names)Deprecated.TableAbstractJoiner. rightOuter(Table table2, String col2Name)Deprecated.TableAbstractJoiner. rightOuter(Table table2, String[] col2Names)Deprecated.Methods in tech.tablesaw.joining with parameters of type Table Modifier and Type Method Description TableAbstractJoiner. fullOuter(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. fullOuter(Table... tables)Deprecated.TableAbstractJoiner. fullOuter(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. fullOuter(Table table2, String col2Name)Deprecated.TableAbstractJoiner. inner(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. inner(Table... tables)Deprecated.TableAbstractJoiner. inner(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. inner(Table table2, boolean allowDuplicateColumnNames, String... col2Names)Deprecated.TableAbstractJoiner. inner(Table table2, String col2Name)Deprecated.TableAbstractJoiner. inner(Table table2, String[] col2Names)Deprecated.TableAbstractJoiner. inner(Table table2, String col2Name, boolean allowDuplicateColumnNames)Deprecated.TableAbstractJoiner. leftOuter(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. leftOuter(Table... tables)Deprecated.TableAbstractJoiner. leftOuter(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. leftOuter(Table table2, boolean allowDuplicateColumnNames, String... col2Names)Deprecated.TableAbstractJoiner. leftOuter(Table table2, String col2Name)Deprecated.TableAbstractJoiner. leftOuter(Table table2, String[] col2Names)Deprecated.TableCrossProductJoin. performJoin(Table table1, Table table2, JoinType joinType, boolean allowDuplicates, boolean keepAllJoinKeyColumns, int[] leftJoinColumnIndexes, String... table2JoinColumnNames)Joins two tables.TableAbstractJoiner. rightOuter(boolean allowDuplicateColumnNames, Table... tables)Deprecated.TableAbstractJoiner. rightOuter(Table... tables)Deprecated.TableAbstractJoiner. rightOuter(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names)Deprecated.TableAbstractJoiner. rightOuter(Table table2, boolean allowDuplicateColumnNames, String... col2Names)Deprecated.TableAbstractJoiner. rightOuter(Table table2, String col2Name)Deprecated.TableAbstractJoiner. rightOuter(Table table2, String[] col2Names)Deprecated.abstract DataFrameJoinerAbstractJoiner. with(Table... tables)DataFrameJoinerDataFrameJoiner. with(Table... tables)The table or tables to be used on the right side of the join.Constructors in tech.tablesaw.joining with parameters of type Table Constructor Description CrossProductJoin(Table table, String... joinColumnNames)Constructor.DataFrameJoiner(Table table, String... leftJoinColumnNames)Constructor. -
Uses of Table in tech.tablesaw.sorting
Methods in tech.tablesaw.sorting with parameters of type Table Modifier and Type Method Description static SortSort. create(Table table, String... columnNames)Create a Sort object from the given table and sort column names.static IntComparatorChainSortUtils. getChain(Table table, Sort key)Returns a comparator chain for sorting according to the given keystatic it.unimi.dsi.fastutil.ints.IntComparatorSortUtils. getComparator(Table table, Sort key)Returns a comparator that can be used to sort the records in this table according to the given sort key -
Uses of Table in tech.tablesaw.table
Methods in tech.tablesaw.table that return Table Modifier and Type Method Description TableTableSliceGroup. aggregate(com.google.common.collect.ListMultimap<String,AggregateFunction<?,?>> functions)Applies the given aggregations to the given columns.TableTableSliceGroup. aggregate(String colName1, AggregateFunction<?,?>... functions)Applies the given aggregation to the given column.TableTableSlice. asTable()Returns the data in this slice as a new Tableabstract TableRelation. first(int nRows)Returns a new table containing the first n rows in this RelationTableTableSlice. first(int nRows)Returns a new table containing the first n rows in this RelationTableTableSliceGroup. getSourceTable()Returns the table behind this slice groupTableTableSlice. getTable()Returns the backing table for this sliceTableRelation. structure()Returns the structure of the this relation as a 3-column Table, consisting of Index (an IntColumn), Column Name (a StringColumn), and Column Type (a StringColumn)TableRelation. summary()Returns a table containing summary statistics for the columns in this Relationstatic TableTableSliceGroup. summaryTableName(Table source)Returns the name of a summary table made by aggregating on the slices in this groupMethods in tech.tablesaw.table that return types with arguments of type Table Modifier and Type Method Description List<Table>TableSliceGroup. asTableList()Returns a list of Tables created by reifying my list of slices (views) over the original tableMethods in tech.tablesaw.table with parameters of type Table Modifier and Type Method Description static SelectionTableSliceGroupSelectionTableSliceGroup. create(Table original, String subTableNameTemplate, int step)Creates a TableSliceGroup where each slice containsstepnumber of rows from the backing tablestatic StandardTableSliceGroupStandardTableSliceGroup. create(Table original, String... columnsNames)Returns a viewGroup splitting the original table on the given columns.static StandardTableSliceGroupStandardTableSliceGroup. create(Table original, CategoricalColumn<?>... columns)Returns a viewGroup splitting the original table on the given columns.protected voidTableSliceGroup. setSourceTable(Table sourceTable)Sets the source table that backs this TableSliceGroupstatic TableTableSliceGroup. summaryTableName(Table source)Returns the name of a summary table made by aggregating on the slices in this groupConstructors in tech.tablesaw.table with parameters of type Table Constructor Description TableSlice(Table table)Returns a new view constructed from the given table.TableSlice(Table table, Selection rowSelection)Returns a new View constructed from the given table, containing only the rows represented by the bitmapTableSliceGroup(Table original)Returns an instance for calculating a single summary for the given table, with no sub-groupingsTableSliceGroup(Table sourceTable, String[] groupColumnNames)Returns an instance for calculating subgroups, one for each combination of the given groupColumnNames that appear in the source table
-