public interface CategoricalColumn extends Column
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 |
---|---|
int[] |
asIntArray() |
default Set<Integer> |
asIntegerSet() |
default Table |
countByCategory() |
append, appendCell, appendCell, appendMissing, asBytes, asDoubleArray, asObjectArray, byteSize, clear, columnWidth, copy, countMissing, countUnique, create, emptyCopy, emptyCopy, first, getDouble, getObject, getString, getUnformattedString, inRange, isEmpty, isMissing, isMissing, isNotMissing, lag, last, lead, name, print, removeMissing, rolling, rowComparator, rows, sampleN, sampleX, setName, size, sortAscending, sortDescending, subset, summarizeIf, summary, title, type, unique, where
Copyright © 2018. All rights reserved.