public interface CategoricalColumn<T> extends Column<T>
The column data is generally discrete, however NumberColumn implements CategoricalColumn so that it can be used to summarize when it contains ints. If you use it to summarize over a large range of floating point numbers, you will likely run out of memory.
Supporting subtypes include: - StringColumn - BooleanColumn - DateColumn, - etc
DateTimeColumn is not included. TimeColumn can be converted to ints without loss of data, so it does implement this interface
Modifier and Type | Method and Description |
---|---|
default Table |
countByCategory() |
allMatch, anyMatch, append, append, append, appendCell, appendCell, appendMissing, appendObj, asBytes, asList, asObjectArray, asStringColumn, byteSize, clear, columnWidth, contains, copy, count, count, countMissing, countUnique, emptyCopy, emptyCopy, filter, first, get, getString, getUnformattedString, inRange, isEmpty, isMissing, isMissing, isNotMissing, lag, last, lead, map, mapInto, max, max, min, min, name, noneMatch, print, reduce, reduce, removeMissing, rolling, rowComparator, sampleN, sampleX, set, set, set, set, set, setMissing, setMissingTo, setName, size, sortAscending, sortDescending, sorted, subset, summary, title, type, unique, where
forEach, iterator, spliterator
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
default Table countByCategory()
Copyright © 2019. All rights reserved.