public interface Column
extends java.util.List<java.lang.Object>
A view of a column of a table.
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
double sum()
Get the sum of this column. Null entries result in a sum of NaN.
java.lang.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.
java.lang.IllegalArgumentException
- if there are any non-null, non-numeric entries in the table.