Package | Description |
---|---|
tech.tablesaw.aggregate | |
tech.tablesaw.api | |
tech.tablesaw.columns.numbers | |
tech.tablesaw.filtering | |
tech.tablesaw.table | |
tech.tablesaw.util |
Modifier and Type | Method | Description |
---|---|---|
static Double |
AggregateFunctions.meanDifference(NumericColumn<?> column1,
NumericColumn<?> column2) |
Returns the given mean difference of the values in the arguments TODO(lwhite): These are two
column reductions.
|
static Double |
AggregateFunctions.percentile(NumericColumn<?> data,
Double percentile) |
Returns the given percentile of the values in the argument
|
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 the
aggregateFunction when
applied to the values column grouping by the key columns |
static Double |
AggregateFunctions.sumDifference(NumericColumn<?> column1,
NumericColumn<?> column2) |
Returns the given sum difference of the values in the arguments TODO(lwhite): These are two
column reductions.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DoubleColumn |
|
class |
FloatColumn |
|
class |
IntColumn |
|
class |
LongColumn |
|
class |
NumberColumn<C extends NumberColumn<C,T>,T extends Number> |
|
class |
ShortColumn |
Modifier and Type | Method | Description |
---|---|---|
abstract NumericColumn<T> |
NumberColumn.bottom(int n) |
Returns the smallest ("bottom") n values in the column TODO(lwhite): Consider whether this
should exclude missing
|
NumericColumn<T> |
NumericColumn.copy() |
|
NumericColumn<T> |
NumericColumn.lag(int n) |
|
default NumericColumn<T> |
NumericColumn.lead(int n) |
|
abstract NumericColumn<T> |
NumberColumn.top(int n) |
Returns the largest ("top") n values in the column TODO(lwhite): Consider whether this should
exclude missing
|
default NumericColumn<T> |
NumericColumn.where(Selection selection) |
Modifier and Type | Method | Description |
---|---|---|
default double |
NumericColumn.kendalls(NumericColumn<?> otherColumn) |
Returns the Kendall's Tau Rank correlation between the receiver and the otherColumn
|
default double |
NumericColumn.pearsons(NumericColumn<?> otherColumn) |
Returns the pearson's correlation between the receiver and the otherColumn
|
Table |
Table.pivot(CategoricalColumn<?> column1,
CategoricalColumn<?> column2,
NumericColumn<?> column3,
AggregateFunction<?,?> aggregateFunction) |
Returns a pivot on this table, where: The first column contains unique values from the index
column1 There are n additional columns, one for each unique value in column2 The values in each
of the cells in these new columns are the result of applying the given AggregateFunction to the
data in column3, grouped by the values of column1 and column2
|
DoubleColumn |
DoubleColumn.set(DoublePredicate condition,
NumericColumn<?> other) |
Updates this column where values matching the selection are replaced with the corresponding
value from the given column
|
default double |
NumericColumn.spearmans(NumericColumn<?> otherColumn) |
Returns the Spearman's Rank correlation between the receiver and the otherColumn
|
Modifier and Type | Field | Description |
---|---|---|
protected NumericColumn<T> |
NumberInterpolator.col |
Modifier and Type | Method | Description |
---|---|---|
default DoubleColumn |
NumberMapFunctions.add(NumericColumn<?> column2) |
|
static Stats |
Stats.create(NumericColumn<?> values) |
|
default DoubleColumn |
NumberMapFunctions.divide(NumericColumn<?> column2) |
|
default Selection |
NumberFilters.isEqualTo(NumericColumn<?> d) |
|
default Selection |
NumberFilters.isGreaterThan(NumericColumn<?> d) |
|
default Selection |
NumberFilters.isGreaterThanOrEqualTo(NumericColumn<?> d) |
|
default Selection |
NumberFilters.isLessThan(NumericColumn<?> d) |
|
default Selection |
NumberFilters.isLessThanOrEqualTo(NumericColumn<?> d) |
|
default Selection |
NumberFilters.isNotEqualTo(NumericColumn<?> d) |
|
default DoubleColumn |
NumberMapFunctions.multiply(NumericColumn<?> column2) |
|
default DoubleColumn |
NumberMapFunctions.power(NumericColumn<?> powerColumn) |
|
default DoubleColumn |
NumberMapFunctions.subtract(NumericColumn<?> column2) |
Constructor | Description |
---|---|
NumberInterpolator(NumericColumn<T> col) |
|
NumberRollingColumn(NumericColumn<?> column,
int window) |
Modifier and Type | Method | Description |
---|---|---|
Function<Table,Selection> |
DeferredNumberColumn.isEqualTo(NumericColumn<?> d) |
|
T |
NumberFilterSpec.isEqualTo(NumericColumn<?> d) |
|
Function<Table,Selection> |
DeferredNumberColumn.isGreaterThan(NumericColumn<?> d) |
|
T |
NumberFilterSpec.isGreaterThan(NumericColumn<?> d) |
|
Function<Table,Selection> |
DeferredNumberColumn.isGreaterThanOrEqualTo(NumericColumn<?> d) |
|
T |
NumberFilterSpec.isGreaterThanOrEqualTo(NumericColumn<?> d) |
|
Function<Table,Selection> |
DeferredNumberColumn.isLessThan(NumericColumn<?> d) |
|
T |
NumberFilterSpec.isLessThan(NumericColumn<?> d) |
|
Function<Table,Selection> |
DeferredNumberColumn.isLessThanOrEqualTo(NumericColumn<?> d) |
|
T |
NumberFilterSpec.isLessThanOrEqualTo(NumericColumn<?> d) |
|
Function<Table,Selection> |
DeferredNumberColumn.isNotEqualTo(NumericColumn<?> d) |
|
T |
NumberFilterSpec.isNotEqualTo(NumericColumn<?> d) |
Modifier and Type | Method | Description |
---|---|---|
NumericColumn<?> |
Relation.nCol(int columnIndex) |
Returns the column with the given name cast to a NumberColumn
|
NumericColumn<?> |
Relation.nCol(String columnName) |
Returns the column with the given name cast to a NumberColumn.
|
NumericColumn<?> |
Relation.numberColumn(int columnIndex) |
Returns the NumberColumn at the given index.
|
NumericColumn<?> |
Relation.numberColumn(String columnName) |
Returns a NumericColumn with the given name if it is present in this Relation.
|
NumericColumn<?>[] |
Relation.numberColumns() |
Returns all the NumericColumns in this Relation as an Array
|
Modifier and Type | Method | Description |
---|---|---|
List<NumericColumn<?>> |
Relation.numericColumns() |
Returns all the NumericColumns in the relation
|
List<NumericColumn<?>> |
Relation.numericColumns(int... columnIndices) |
Returns all the NumericColumns in the relation
|
List<NumericColumn<?>> |
Relation.numericColumns(String... columnNames) |
Returns all the NumericColumns in the relation
|
Modifier and Type | Method | Description |
---|---|---|
static double[][] |
DoubleArrays.to2dArray(NumericColumn<?>... columns) |
|
static double[][] |
DoubleArrays.to2dArray(NumericColumn<?> x,
NumericColumn<?> y) |
Modifier and Type | Method | Description |
---|---|---|
static double[][] |
DoubleArrays.to2dArray(List<NumericColumn<?>> columnList) |
Copyright © 2021. All rights reserved.