Modifier and Type | Method and Description |
---|---|
double |
average()
Get the average of this column.
|
double |
sum()
Get the sum of this column.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
double sum()
Get the sum of this column. Null entries result in a sum of NaN.
IllegalArgumentException
- if there are any non-null, non-numeric entries in the table.double average()
Get the average of this column. Null entries and empty tables result in NaN.
IllegalArgumentException
- if there are any non-null, non-numeric entries in the table.