Uses of Class
tech.tablesaw.api.Table
Packages that use Table
Package
Description
-
Uses of Table in tech.tablesaw.aggregate
Methods in tech.tablesaw.aggregate that return TableModifier and TypeMethodDescriptionSummarizer.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 applySummarizer.by
(int step) Returns a summary of the records grouped into subsets of the same size, in the order they appearSimilar 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 subgroupSummarizer.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, 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 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
Returns a Table containing counts of records in the given Table grouped by the given columnName See alsocountBy(String...)
static 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
Similar in intent to the SQL having command, it enables the user to apply a filter to the grouped results of summary.static Table
Returns a Table containing the proportion of records in the given Table grouped by the given column TODO: Consider renaming to proportionsstatic 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, 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 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, 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 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 columnsMethods in tech.tablesaw.aggregate with parameters of type TableModifier and TypeMethodDescriptionstatic Table
CrossTab.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 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
Returns a Table containing counts of records in the given Table grouped by the given columnName See alsocountBy(String...)
static 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
static Table
Returns a Table containing the proportion of records in the given Table grouped by the given column TODO: Consider renaming to proportionsstatic 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, 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 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, 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 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 columnsMethod parameters in tech.tablesaw.aggregate with type arguments of type TableModifier and TypeMethodDescriptionSimilar 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 TableModifierConstructorDescriptionSummarizer
(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 TableModifier and TypeMethodDescriptionAnalyticQuery.execute()
Executes the query adding all the calculated columns to a new table.AnalyticQuerySteps.Execute.execute()
Executes the query adding all the calculated columns to a new table.AnalyticQuery.getTable()
The Table behind the query.Methods in tech.tablesaw.analytic with parameters of type TableModifier and TypeMethodDescriptionSet the From/Source Table name to use in the query.Set the From/Source Table name to use in the query.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 TableModifier and TypeMethodDescriptionTable.addColumns
(Column<?>... cols) Adds the given column to this table.Appends the given row to this table and returns the table.Returns this table after adding the data from the argumentTable.cast()
Cast implements the 'tidy' cast operation as described in these papers by Hadley Wickham: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 rowsTable.copy()
Returns a table with the same columns and data as this tableReturns a table containing a column for each grouping column, and a column named "Count" that contains the counts for each combination of grouping column valuesTable.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 Table
CategoricalColumn.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 IntColumnLongColumn.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 IntColumnStringColumn.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 Table
Table.create()
Returns a new, empty table (without rows or columns)static Table
Returns a new, empty table (without rows or columns) with the given namestatic Table
Table.create
(String name, Collection<Column<?>> columns) Returns a new table with the given columns and given namestatic Table
Returns a new table with the given columns and given namestatic Table
Returns a new table with the given columns and given namestatic Table
Table.create
(Collection<Column<?>> columns) Returns a new table with the given columnsstatic Table
Returns a new table with the given columnsstatic Table
Returns a new table with the given columnsTable.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.Table.dropRange
(int rowCount) Returns a new table EXCLUDING the first rowCount rows if rowCount positive.Table.dropRange
(int rowStart, int rowEnd) Returns a table EXCLUDING the rows contained in the range from rowStart inclusive to rowEnd exclusiveTable.dropRows
(int... rowNumbers) Returns a table EXCLUDING the rows contained in the given array of row indicesTable.dropRowsWithMissingValues()
Returns only those records in this table that have no columns with missing valuesReturns a new Table made by EXCLUDING any rows returned when the given function is applied to this tableReturns a table EXCLUDING the rows contained in the given SelectionTable.emptyCopy()
Returns a table with the same columns as this table, but no dataTable.emptyCopy
(int rowSize) Returns a table with the same columns as this table, but no data, initialized to the given row sizeTable.first
(int nRows) Returns a new table containing the firstnrows
of data in this tableTable.inRange
(int rowCount) Returns a new table containing the first rowCount rows if rowCount positive.Table.inRange
(int rowStart, int rowEnd) Returns a new table containing the rows contained in the range from rowStart inclusive to rowEnd exclusiveTable.insertColumn
(int index, Column<?> column) Adds the given column to this table at the given position in the column list.Table.last
(int nRows) Returns a new table containing the lastnrows
of data in this tableMelt implements the 'tidy' melt operation as described in these papers by Hadley Wickham.Table.missingValueCounts()
Returns a table containing the number of missing values in each column in this 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 column2Table.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.rejectColumns
(int... columnIndexes) Returns a new table containing copies of all the columns from this table, except those at the given indexesTable.rejectColumns
(String... columnNames) Returns a new table containing copies of all the columns from this table, except those named in the argumentTable.rejectColumns
(Column<?>... columns) Returns a new table containing copies of all the columns from this table, except those named in the argumentTable.removeColumns
(int... columnIndexes) Removes the columns at the given indices from this table and returns this tableTable.removeColumns
(String... columns) Removes the columns with the given names from this table and returns this tableTable.removeColumns
(Column<?>... columns) Removes the given columns from this table and returns this tableTable.removeColumnsWithMissingValues()
Removes all columns with missing values from this table, and returns this table.Table.reorderColumns
(String... columnNames) Return a new table (shallow copy) that contains all the columns in this table, in the order given in the argument.Table.replaceColumn
(int colIndex, Column<?> newColumn) Replaces an existing column (by index) in this table with the given new columnTable.replaceColumn
(String columnName, Column<?> newColumn) Replaces an existing column (by name) in this table with the given new columnTable.replaceColumn
(Column<?> newColumn) Replaces an existing column having the same name of the given column with the given columnTable.retainColumns
(int... columnIndexes) Removes all columns except for those given in the argument from this table and returns this tableTable.retainColumns
(String... columnNames) Removes all columns except for those given in the argument from this table and returns this tableTable.retainColumns
(Column<?>... columns) Removes all columns except for those given in the argument from this table and returns this tableTable.rows
(int... rowNumbers) Returns a table containing the rows contained in the given array of row indicesTable.sampleN
(int nRows) Returns a table consisting of randomly selected records from this tableTable[]
Table.sampleSplit
(double table1Proportion) Table.sampleX
(double proportion) Returns a table consisting of randomly selected records from this table.Deprecated.Deprecated.UseselectColumns(Column[])
insteadTable.selectColumns
(int... columnIndexes) Returns a new table containing copies of the columns at the given indexesTable.selectColumns
(String... columnNames) Returns a new table containing copies of the selected columns from this tableTable.selectColumns
(Column<?>... columns) Returns a new table containing copies of the selected columns from this tableSets the name of the tableTable.sortAscendingOn
(String... columnNames) Returns a copy of this table sorted in the order of the given column names, in ascending orderTable.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 indexTable.sortOn
(int... columnIndexes) Sorts this table into a new table on the columns indexedReturns a copy of this table sorted on the given column names, applied in order,Table.sortOn
(Comparator<Row> rowComparator) Returns a copy of this table sorted using the given comparatorReturns 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.BooleanColumn.summary()
Returns a table containing a ColumnType specific summary of the data in this columnDateColumn.summary()
Returns a table of dates and the number of observations of those datesDateTimeColumn.summary()
Returns a table containing a ColumnType specific summary of the data in this columnInstantColumn.summary()
Returns a table containing a ColumnType specific summary of the data in this columndefault Table
NumericColumn.summary()
Returns a table of common statistical values that together describe the data in this columnStringColumn.summary()
Returns a table containing a ColumnType specific summary of the data in this columnTextColumn.summary()
Returns a table containing a ColumnType specific summary of the data in this columnTimeColumn.summary()
Returns a table containing a ColumnType specific summary of the data in this columnTable.transpose()
Transposes data in the table, switching rows for columns.Table.transpose
(boolean includeColumnHeadingsAsFirstColumn, boolean useFirstColumnForHeadings) Transposes data in the table, switching rows for columns.Returns a new Table made by applying the given function to this tableReturns a table containing the rows contained in the given SelectionTable.xTabColumnPercents
(String column1Name, String column2Name) Returns a table with n by m + 1 cells.Table.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 valueTable.xTabCounts
(String column1Name, String column2Name) Returns a table with n by m + 1 cells.Table.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 valueTable.xTabRowPercents
(String column1Name, String column2Name) Returns a table with n by m + 1 cells.Table.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 TableModifier and TypeMethodDescriptionReturns a selection for all records that match all of the given functions.Returns a selection for all records that match all of the given functionsReturns a selection for all records that match any of the given functions.Returns a selection for all records that match both of the given functionsReturns a selection for all records that match either of the given functionsReturns a selection for all records that match neither of the given functions.Returns a selection for all records for which the given function isfalse
Returns a selection for all records that don't match all of the given functionsReturns a selection for all records that don't match any of the given functionsReturns a selection for all records that don't match both of the given functions.Returns a selection for all records that match any of the given functionsMethods in tech.tablesaw.api with parameters of type TableModifier and TypeMethodDescriptionvoid
Adds a single row to this table from sourceTable, copying every column in sourceTablestatic boolean
Table.compareRows
(int rowNumber, Table table1, Table table2) Returnstrue
if the row @rowNumber in table1 holds the same data as the row at rowNumber in table2Add 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 rowsvoid
Table.copyRowsToTable
(int[] rows, Table newTable) Copies the rows indicated by the row index values in the given array from oldTable to newTablevoid
Table.copyRowsToTable
(Selection rows, Table newTable) Copies the rows specified by Selection into newTableMethod parameters in tech.tablesaw.api with type arguments of type TableModifier and TypeMethodDescriptionReturns a selection for all records that match both of the given functionsReturns a new Table made by EXCLUDING any rows returned when the given function is applied to this tableReturns a selection for all records that match either of the given functionsReturns a selection for all records that match neither of the given functions.Returns a selection for all records for which the given function isfalse
Returns a selection for all records that don't match both of the given functions.Returns a new Table made by applying the given function to this tableConstructors in tech.tablesaw.api with parameters of type Table -
Uses of Table in tech.tablesaw.columns
Methods in tech.tablesaw.columns that return Table -
Uses of Table in tech.tablesaw.columns.numbers
Methods in tech.tablesaw.columns.numbers that return TableModifier and TypeMethodDescriptionStats.asTable()
Returns the most common calculated statistics in tabular formStats.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 TableModifier and TypeMethodDescriptionByteDictionaryMap.countByCategory
(String columnName) DictionaryMap.countByCategory
(String columnName) IntDictionaryMap.countByCategory
(String columnName) ShortDictionaryMap.countByCategory
(String columnName) -
Uses of Table in tech.tablesaw.filtering
Methods in tech.tablesaw.filtering that return types with arguments of type TableModifier and TypeMethodDescriptionDeferredStringColumn.containsString
(String string) DeferredTextColumn.containsString
(String string) DeferredStringColumn.equalsIgnoreCase
(Column<String> other) DeferredTextColumn.equalsIgnoreCase
(Column<String> other) DeferredDateColumn.isAfter
(DateColumn column) DeferredDateTimeColumn.isAfter
(LocalDateTime time) DeferredDateTimeColumn.isAfter
(DateTimeColumn column) DeferredTimeColumn.isAfter
(TimeColumn column) DeferredDateTimeColumn.isAfterNoon()
DeferredTimeColumn.isAfterNoon()
DeferredStringColumn.isAlpha()
DeferredTextColumn.isAlpha()
DeferredStringColumn.isAlphaNumeric()
DeferredTextColumn.isAlphaNumeric()
DeferredDateColumn.isBefore
(DateColumn column) DeferredDateTimeColumn.isBefore
(LocalDateTime value) DeferredDateTimeColumn.isBefore
(DateTimeColumn column) DeferredTimeColumn.isBefore
(TimeColumn column) DeferredDateTimeColumn.isBeforeNoon()
DeferredTimeColumn.isBeforeNoon()
DeferredDateColumn.isBetweenExcluding
(LocalDate lowValue, LocalDate highValue) DeferredDateTimeColumn.isBetweenExcluding
(LocalDateTime lowValue, LocalDateTime highValue) DeferredNumberColumn.isBetweenExclusive
(double start, double end) DeferredDateColumn.isBetweenIncluding
(LocalDate lowValue, LocalDate highValue) DeferredDateTimeColumn.isBetweenIncluding
(LocalDateTime lowValue, LocalDateTime highValue) DeferredNumberColumn.isBetweenInclusive
(double start, double end) DeferredStringColumn.isEmptyString()
DeferredTextColumn.isEmptyString()
DeferredBooleanColumn.isEqualTo
(BooleanColumn other) DeferredDateColumn.isEqualTo
(DateColumn column) DeferredDateTimeColumn.isEqualTo
(LocalDateTime value) DeferredDateTimeColumn.isEqualTo
(DateTimeColumn column) DeferredNumberColumn.isEqualTo
(double other) DeferredNumberColumn.isEqualTo
(NumericColumn<?> d) DeferredTimeColumn.isEqualTo
(TimeColumn column) DeferredBooleanColumn.isFalse()
DeferredDateColumn.isFirstDayOfMonth()
DeferredDateTimeColumn.isFirstDayOfMonth()
DeferredDateColumn.isFriday()
DeferredDateTimeColumn.isFriday()
DeferredNumberColumn.isGreaterThan
(double f) DeferredNumberColumn.isGreaterThan
(NumericColumn<?> d) DeferredNumberColumn.isGreaterThanOrEqualTo
(double f) DeferredNumberColumn.isGreaterThanOrEqualTo
(NumericColumn<?> d) DeferredNumberColumn.isIn
(Collection<Number> numbers) DeferredStringColumn.isIn
(Collection<String> strings) DeferredTextColumn.isIn
(Collection<String> strings) DeferredDateColumn.isInApril()
DeferredDateTimeColumn.isInApril()
DeferredDateColumn.isInAugust()
DeferredDateTimeColumn.isInAugust()
DeferredDateColumn.isInDecember()
DeferredDateTimeColumn.isInDecember()
DeferredDateColumn.isInFebruary()
DeferredDateTimeColumn.isInFebruary()
DeferredDateColumn.isInJanuary()
DeferredDateTimeColumn.isInJanuary()
DeferredDateColumn.isInJuly()
DeferredDateTimeColumn.isInJuly()
DeferredDateColumn.isInJune()
DeferredDateTimeColumn.isInJune()
DeferredDateColumn.isInMarch()
DeferredDateTimeColumn.isInMarch()
DeferredDateColumn.isInMay()
DeferredDateTimeColumn.isInMay()
DeferredDateColumn.isInNovember()
DeferredDateTimeColumn.isInNovember()
DeferredDateColumn.isInOctober()
DeferredDateTimeColumn.isInOctober()
DeferredDateColumn.isInQ1()
DeferredDateTimeColumn.isInQ1()
DeferredDateColumn.isInQ2()
DeferredDateTimeColumn.isInQ2()
DeferredDateColumn.isInQ3()
DeferredDateTimeColumn.isInQ3()
DeferredDateColumn.isInQ4()
DeferredDateTimeColumn.isInQ4()
DeferredDateColumn.isInSeptember()
DeferredDateTimeColumn.isInSeptember()
DeferredDateColumn.isInYear
(int year) DeferredDateTimeColumn.isInYear
(int year) DeferredDateColumn.isLastDayOfMonth()
DeferredDateTimeColumn.isLastDayOfMonth()
DeferredNumberColumn.isLessThan
(double f) DeferredNumberColumn.isLessThan
(NumericColumn<?> d) DeferredNumberColumn.isLessThanOrEqualTo
(double f) DeferredNumberColumn.isLessThanOrEqualTo
(NumericColumn<?> d) DeferredStringColumn.isLongerThan
(int stringLength) DeferredTextColumn.isLongerThan
(int stringLength) DeferredStringColumn.isLowerCase()
DeferredTextColumn.isLowerCase()
DeferredDateTimeColumn.isMidnight()
DeferredTimeColumn.isMidnight()
DeferredColumn.isMissing()
DeferredDateColumn.isMonday()
DeferredDateTimeColumn.isMonday()
DeferredNumberColumn.isNegative()
DeferredNumberColumn.isNonNegative()
DeferredDateTimeColumn.isNoon()
DeferredTimeColumn.isNoon()
DeferredDateColumn.isNotEqualTo
(LocalDate value) DeferredDateColumn.isNotEqualTo
(DateColumn column) DeferredDateTimeColumn.isNotEqualTo
(LocalDateTime value) DeferredDateTimeColumn.isNotEqualTo
(DateTimeColumn column) DeferredNumberColumn.isNotEqualTo
(NumericColumn<?> d) DeferredStringColumn.isNotEqualTo
(String string) DeferredStringColumn.isNotEqualTo
(Column<String> other) DeferredTextColumn.isNotEqualTo
(String string) DeferredTextColumn.isNotEqualTo
(Column<String> other) DeferredTimeColumn.isNotEqualTo
(LocalTime value) DeferredTimeColumn.isNotEqualTo
(TimeColumn column) DeferredNumberColumn.isNotIn
(Collection<Number> numbers) DeferredStringColumn.isNotIn
(Collection<String> strings) DeferredTextColumn.isNotIn
(Collection<String> strings) DeferredColumn.isNotMissing()
DeferredStringColumn.isNumeric()
DeferredTextColumn.isNumeric()
DeferredDateColumn.isOnOrAfter
(LocalDate value) DeferredDateColumn.isOnOrAfter
(DateColumn column) DeferredDateTimeColumn.isOnOrAfter
(LocalDate value) DeferredDateTimeColumn.isOnOrAfter
(LocalDateTime value) DeferredDateTimeColumn.isOnOrAfter
(DateTimeColumn column) DeferredTimeColumn.isOnOrAfter
(LocalTime time) DeferredDateColumn.isOnOrBefore
(LocalDate value) DeferredDateColumn.isOnOrBefore
(DateColumn column) DeferredDateTimeColumn.isOnOrBefore
(LocalDate value) DeferredDateTimeColumn.isOnOrBefore
(LocalDateTime value) DeferredDateTimeColumn.isOnOrBefore
(DateTimeColumn column) DeferredTimeColumn.isOnOrBefore
(LocalTime value) DeferredNumberColumn.isPositive()
DeferredDateColumn.isSaturday()
DeferredDateTimeColumn.isSaturday()
DeferredStringColumn.isShorterThan
(int stringLength) DeferredTextColumn.isShorterThan
(int stringLength) DeferredDateColumn.isSunday()
DeferredDateTimeColumn.isSunday()
DeferredDateColumn.isThursday()
DeferredDateTimeColumn.isThursday()
DeferredBooleanColumn.isTrue()
DeferredDateColumn.isTuesday()
DeferredDateTimeColumn.isTuesday()
DeferredStringColumn.isUpperCase()
DeferredTextColumn.isUpperCase()
DeferredDateColumn.isWednesday()
DeferredDateTimeColumn.isWednesday()
DeferredNumberColumn.isZero()
DeferredStringColumn.lengthEquals
(int stringLength) DeferredTextColumn.lengthEquals
(int stringLength) DeferredStringColumn.matchesRegex
(String string) DeferredTextColumn.matchesRegex
(String string) DeferredStringColumn.startsWith
(String string) DeferredStringColumn.startsWith
(Column<String> other) DeferredTextColumn.startsWith
(String string) DeferredTextColumn.startsWith
(Column<String> other) Methods in tech.tablesaw.filtering with parameters of type TableModifier and TypeMethodDescriptionConstructor parameters in tech.tablesaw.filtering with type arguments of type Table -
Uses of Table in tech.tablesaw.io
Methods in tech.tablesaw.io that return TableModifier and TypeMethodDescriptionstatic Table
DataFrameReader.csv
(InputStream stream) DataFrameReader.csv
(InputStream stream, String name) DataFrameReader.csv
(CsvReadOptions options) DataFrameReader.csv
(CsvReadOptions.Builder options) Reads the given file into a table using default options Uses converter specified based on given file extension UseusingOptions
to use non-default optionsReads the given file into a table using default options Uses converter specified based on given file extension UseusingOptions
to use non-default optionsprotected Table
FileReader.parseRows
(ReadOptions options, boolean headerOnly, Reader reader, ReadOptions.ColumnTypeReadOptions columnTypeReadOptions, com.univocity.parsers.common.AbstractParser<?> parser) protected Table
FileReader.parseRows
(ReadOptions options, boolean headerOnly, Reader reader, ReadOptions.ColumnTypeReadOptions columnTypeReadOptions, com.univocity.parsers.common.AbstractParser<?> parser, int sampleSize) Reads the given string contents into a table using default options Uses converter specified based on given file extension UseusingOptions
to use non-default optionsReads the given URL into a table using default options Uses appropriate converter based on mime-type UseusingOptions
to use non-default optionsReads the given URL into a table using default options Uses appropriate converter based on mime-type UseusingOptions
to use non-default options<T extends ReadOptions>
TableDataFrameReader.usingOptions
(T options) DataFrameReader.usingOptions
(ReadOptions.Builder builder) Methods in tech.tablesaw.io with parameters of type TableModifier and TypeMethodDescriptionprotected String
FileReader.getTypeString
(Table structure) void
void
DataWriter.write
(Table table, Destination dest) Constructors in tech.tablesaw.io with parameters of type Table -
Uses of Table in tech.tablesaw.io.csv
Methods in tech.tablesaw.io.csv that return TableMethods in tech.tablesaw.io.csv with parameters of type TableModifier and TypeMethodDescriptionvoid
CsvWriter.write
(Table table, CsvWriteOptions options) void
CsvWriter.write
(Table table, Destination dest) -
Uses of Table in tech.tablesaw.io.fixed
Methods in tech.tablesaw.io.fixed that return TableMethods in tech.tablesaw.io.fixed with parameters of type TableModifier and TypeMethodDescriptionvoid
FixedWidthWriter.write
(Table table, Destination dest) void
FixedWidthWriter.write
(Table table, FixedWidthWriteOptions options) -
Uses of Table in tech.tablesaw.io.jdbc
Methods in tech.tablesaw.io.jdbc that return Table -
Uses of Table in tech.tablesaw.joining
Methods in tech.tablesaw.joining that return TableModifier and TypeMethodDescriptionFull outer join to the given tables assuming that they have a column of the name we're joining onFull outer join to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.fullOuter
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableFull outer join the joiner to the table2, using the given column for the second table and returns the resulting tableJoins to the given tables assuming that they have a column of the name we're joining onJoins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.inner
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given column for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given column for the second table and returns the resulting tableJoins to the given tables assuming that they have a column of the name we're joining onJoins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.leftOuter
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given column for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(boolean allowDuplicateColumnNames, Table... tables) Joins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.rightOuter
(Table... tables) Joins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.rightOuter
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(Table table2, boolean allowDuplicateColumnNames, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(Table table2, String col2Name) Joins the joiner to the table2, using the given column for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(Table table2, String[] col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableMethods in tech.tablesaw.joining with parameters of type TableModifier and TypeMethodDescriptionFull outer join to the given tables assuming that they have a column of the name we're joining onFull outer join to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.fullOuter
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableFull outer join the joiner to the table2, using the given column for the second table and returns the resulting tableJoins to the given tables assuming that they have a column of the name we're joining onJoins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.inner
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given column for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given column for the second table and returns the resulting tableJoins to the given tables assuming that they have a column of the name we're joining onJoins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.leftOuter
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableJoins the joiner to the table2, using the given column for the second table and returns the resulting tableJoins the joiner to the table2, using the given columns for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(boolean allowDuplicateColumnNames, Table... tables) Joins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.rightOuter
(Table... tables) Joins to the given tables assuming that they have a column of the name we're joining onDataFrameJoiner.rightOuter
(Table table2, boolean allowDuplicateColumnNames, boolean keepAllJoinKeyColumns, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(Table table2, boolean allowDuplicateColumnNames, String... col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(Table table2, String col2Name) Joins the joiner to the table2, using the given column for the second table and returns the resulting tableDataFrameJoiner.rightOuter
(Table table2, String[] col2Names) Joins the joiner to the table2, using the given columns for the second table and returns the resulting tableConstructors in tech.tablesaw.joining with parameters of type TableModifierConstructorDescriptionDataFrameJoiner
(Table table, String... joinColumnNames) Constructor. -
Uses of Table in tech.tablesaw.sorting
Methods in tech.tablesaw.sorting with parameters of type TableModifier and TypeMethodDescriptionstatic Sort
Create a Sort object from the given table and sort column names.static IntComparatorChain
Returns a comparator chain for sorting according to the given keystatic it.unimi.dsi.fastutil.ints.IntComparator
SortUtils.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 TableModifier and TypeMethodDescriptionTableSliceGroup.aggregate
(com.google.common.collect.ListMultimap<String, AggregateFunction<?, ?>> functions) Applies the given aggregations to the given columns.TableSliceGroup.aggregate
(String colName1, AggregateFunction<?, ?>... functions) Applies the given aggregation to the given column.TableSlice.asTable()
Returns the data in this slice as a new Tableabstract Table
Relation.first
(int nRows) Returns a new table containing the first n rows in this RelationTableSlice.first
(int nRows) Returns a new table containing the first n rows in this RelationTableSliceGroup.getSourceTable()
Returns the table behind this slice groupTableSlice.getTable()
Returns the backing table for this sliceRelation.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)Relation.summary()
Returns a table containing summary statistics for the columns in this Relationstatic Table
TableSliceGroup.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 TableModifier and TypeMethodDescriptionTableSliceGroup.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 TableModifier and TypeMethodDescriptionstatic void
Rows.appendRowToTable
(int row, Table oldTable, Table newTable) Deprecated.Use the instance methodappend(Row)
insteadstatic boolean
Rows.compareRows
(int rowInOriginal, Table original, Table tempTable) Deprecated.Use the static methodcompareRows(int, Table, Table)
insteadstatic void
Rows.copyRowsToTable
(int[] rows, Table oldTable, Table newTable) Deprecated.Use the instance methodcopyRowsToTable(int[], Table)
insteadstatic void
Rows.copyRowsToTable
(Selection rows, Table oldTable, Table newTable) Deprecated.Use the instance method {Table:where(Selection} insteadstatic SelectionTableSliceGroup
Creates a TableSliceGroup where each slice containsstep
number of rows from the backing tablestatic StandardTableSliceGroup
Returns a viewGroup splitting the original table on the given columns.static StandardTableSliceGroup
StandardTableSliceGroup.create
(Table original, CategoricalColumn<?>... columns) Returns a viewGroup splitting the original table on the given columns.static void
Deprecated.Usefirst(int)
insteadprotected void
TableSliceGroup.setSourceTable
(Table sourceTable) Sets the source table that backs this TableSliceGroupstatic Table
TableSliceGroup.summaryTableName
(Table source) Returns the name of a summary table made by aggregating on the slices in this groupstatic void
Deprecated.Uselast(int)
insteadConstructors in tech.tablesaw.table with parameters of type TableModifierConstructorDescriptionTableSlice
(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 bitmapprotected
TableSliceGroup
(Table original) Returns an instance for calculating a single summary for the given table, with no sub-groupingsprotected
TableSliceGroup
(Table sourceTable, String[] groupColumnNames) Returns an instance for calculating subgroups, one for each combination of the given groupColumnNames that appear in the source table
selectColumns(String[])
instead