public class AggregateFunctions extends Object
Modifier and Type | Field and Description |
---|---|
static BooleanAggregateFunction |
allTrue |
static BooleanAggregateFunction |
anyTrue |
static NumericAggregateFunction |
change
A function that returns the difference between the last and first items
|
static tech.tablesaw.aggregate.CountFunction |
count
A function that calculates the count of values in the column excluding missing values.
|
static tech.tablesaw.aggregate.BooleanCountFunction |
countFalse |
static tech.tablesaw.aggregate.CountFunction |
countMissing
A function that calculates the count of values in the column excluding missing values
|
static tech.tablesaw.aggregate.CountFunction |
countNonMissing
A function that calculates the count of values in the column excluding missing values
|
static tech.tablesaw.aggregate.BooleanCountFunction |
countTrue |
static tech.tablesaw.aggregate.CountFunction |
countUnique
A function that returns the number of non-missing unique values in the column param
|
static tech.tablesaw.aggregate.CountFunction |
countWithMissing |
static NumericAggregateFunction |
cv
A function that calculates the coefficient of variation (stdDev/mean) of the values in the
column
|
static DateAggregateFunction |
earliestDate |
static DateTimeAggregateFunction |
earliestDateTime |
static NumericAggregateFunction |
first
A function that returns the first item
|
static NumericAggregateFunction |
geometricMean |
static NumericAggregateFunction |
kurtosis |
static NumericAggregateFunction |
last
A function that returns the last item
|
static DateAggregateFunction |
latestDate |
static DateTimeAggregateFunction |
latestDateTime |
static NumericAggregateFunction |
max |
static InstantAggregateFunction |
maxInstant |
static NumericAggregateFunction |
mean
A function that calculates the mean of the values in the column param
|
static NumericAggregateFunction |
median |
static NumericAggregateFunction |
min |
static InstantAggregateFunction |
minInstant |
static BooleanAggregateFunction |
noneTrue |
static NumericAggregateFunction |
pctChange
A function that returns the difference between the last and first items
|
static NumericAggregateFunction |
percentile90 |
static NumericAggregateFunction |
percentile95 |
static NumericAggregateFunction |
percentile99 |
static NumericAggregateFunction |
populationVariance |
static NumericAggregateFunction |
product |
static tech.tablesaw.aggregate.BooleanNumericFunction |
proportionFalse |
static tech.tablesaw.aggregate.BooleanNumericFunction |
proportionTrue |
static NumericAggregateFunction |
quadraticMean
Returns the quadratic mean, aka, the root-mean-square
|
static NumericAggregateFunction |
quartile1 |
static NumericAggregateFunction |
quartile3 |
static NumericAggregateFunction |
range |
static NumericAggregateFunction |
skewness |
static NumericAggregateFunction |
standardDeviation
Deprecated.
use
stdDev instead |
static NumericAggregateFunction |
stdDev |
static NumericAggregateFunction |
sum
A function that calculates the sum of the values in the column param
|
static NumericAggregateFunction |
sumOfLogs |
static NumericAggregateFunction |
sumOfSquares |
static NumericAggregateFunction |
variance |
Constructor and Description |
---|
AggregateFunctions() |
Modifier and Type | Method and Description |
---|---|
static Double |
meanDifference(NumericColumn<?> column1,
NumericColumn<?> column2) |
static Double |
percentile(NumericColumn<?> data,
Double percentile) |
static Double |
sumDifference(NumericColumn<?> column1,
NumericColumn<?> column2) |
public static DateTimeAggregateFunction earliestDateTime
public static DateAggregateFunction earliestDate
public static DateAggregateFunction latestDate
public static DateTimeAggregateFunction latestDateTime
public static InstantAggregateFunction maxInstant
public static InstantAggregateFunction minInstant
public static tech.tablesaw.aggregate.BooleanCountFunction countTrue
public static BooleanAggregateFunction allTrue
public static BooleanAggregateFunction anyTrue
public static BooleanAggregateFunction noneTrue
public static tech.tablesaw.aggregate.BooleanCountFunction countFalse
public static tech.tablesaw.aggregate.BooleanNumericFunction proportionTrue
public static tech.tablesaw.aggregate.BooleanNumericFunction proportionFalse
public static NumericAggregateFunction first
public static NumericAggregateFunction last
public static NumericAggregateFunction change
public static NumericAggregateFunction pctChange
public static tech.tablesaw.aggregate.CountFunction countNonMissing
public static final tech.tablesaw.aggregate.CountFunction count
public static tech.tablesaw.aggregate.CountFunction countMissing
public static tech.tablesaw.aggregate.CountFunction countUnique
public static final NumericAggregateFunction mean
public static final NumericAggregateFunction cv
public static final NumericAggregateFunction sum
public static final NumericAggregateFunction median
public static final tech.tablesaw.aggregate.CountFunction countWithMissing
public static final NumericAggregateFunction quartile1
public static final NumericAggregateFunction quartile3
public static final NumericAggregateFunction percentile90
public static final NumericAggregateFunction percentile95
public static final NumericAggregateFunction percentile99
public static final NumericAggregateFunction range
public static final NumericAggregateFunction min
public static final NumericAggregateFunction max
public static final NumericAggregateFunction product
public static final NumericAggregateFunction geometricMean
public static final NumericAggregateFunction populationVariance
public static final NumericAggregateFunction quadraticMean
public static final NumericAggregateFunction kurtosis
public static final NumericAggregateFunction skewness
public static final NumericAggregateFunction sumOfSquares
public static final NumericAggregateFunction sumOfLogs
public static final NumericAggregateFunction variance
public static final NumericAggregateFunction stdDev
@Deprecated public static final NumericAggregateFunction standardDeviation
stdDev
insteadpublic static Double percentile(NumericColumn<?> data, Double percentile)
public static Double meanDifference(NumericColumn<?> column1, NumericColumn<?> column2)
public static Double sumDifference(NumericColumn<?> column1, NumericColumn<?> column2)
Copyright © 2020. All rights reserved.