Package | Description |
---|---|
tech.tablesaw.api | |
tech.tablesaw.columns.strings | |
tech.tablesaw.table |
Modifier and Type | Method | Description |
---|---|---|
TextColumn |
TextColumn.addAll(List<String> stringValues) |
Add all the strings in the list to this column
|
TextColumn |
TextColumn.append(String value) |
Added for naming consistency with all other columns
|
TextColumn |
TextColumn.append(Column<String> column) |
Appends all the values in the argument to the bottom of this column and return this column
|
TextColumn |
TextColumn.appendCell(String object) |
Add one element to the bottom of this column and set its value to the parsed value of the given
String.
|
TextColumn |
TextColumn.appendCell(String object,
AbstractColumnParser<?> parser) |
Add one element to the bottom of this column and set its value to the parsed value of the given
String, as performed by the given parser
|
TextColumn |
TextColumn.appendMissing() |
|
TextColumn |
TextColumn.appendObj(Object obj) |
Appends the given value to the bottom of this column and return this column
|
TextColumn |
StringColumn.asTextColumn() |
|
TextColumn |
TextColumn.copy() |
Returns a deep copy of the receiver
|
static TextColumn |
TextColumn.create(String name) |
|
static TextColumn |
TextColumn.create(String name,
int size) |
|
static TextColumn |
TextColumn.create(String name,
String... strings) |
|
static TextColumn |
TextColumn.create(String name,
Collection<String> strings) |
|
static TextColumn |
TextColumn.create(String name,
Stream<String> stream) |
|
TextColumn |
TextColumn.emptyCopy() |
Returns a copy of the receiver with no data.
|
TextColumn |
TextColumn.emptyCopy(int rowSize) |
Returns an empty copy of the receiver, with its internal storage initialized to the given row
size.
|
TextColumn |
TextColumn.lag(int n) |
Returns a column of the same type and size as the receiver, containing the receivers values
offset by n.
|
TextColumn |
TextColumn.lead(int n) |
Returns a column of the same type as the receiver, containing the receivers values offset -n
For example if you lead a column containing 2, 3, 4 by 1, you get a column containing 3, 4, NA.
|
TextColumn |
TextColumn.removeMissing() |
Returns a copy of this column with the missing values removed
|
TextColumn |
TextColumn.set(int rowIndex,
String stringValue) |
Sets the value at index row to the given value and return this column
|
TextColumn |
TextColumn.set(Selection rowSelection,
String newValue) |
Conditionally update this column, replacing current values with newValue for all rows where the
current value matches the selection criteria
|
TextColumn |
TextColumn.setMissing(int i) |
Sets the value at index i to the missing-value indicator for this column type, and return this
column
|
TextColumn |
TextColumn.unique() |
Returns a new Column containing all the unique values in this column
|
TextColumn |
TextColumn.where(Selection selection) |
Returns a new column containing the subset referenced by the
Selection |
Modifier and Type | Method | Description |
---|---|---|
TextColumn |
TextColumnType.create(String name) |
Modifier and Type | Method | Description |
---|---|---|
TextColumn |
Relation.textColumn(int columnIndex) |
Returns the TextColumn at the given 0-based index if present.
|
TextColumn |
Relation.textColumn(String columnName) |
Returns a TextColumn with the given name if it is present in this Relation.
|
Copyright © 2022. All rights reserved.