Uses of Class
tech.tablesaw.api.StringColumn
Packages that use StringColumn
Package
Description
-
Uses of StringColumn in tech.tablesaw.aggregate
Methods in tech.tablesaw.aggregate with parameters of type StringColumnModifier and TypeMethodDescriptionabstract String
StringAggregateFunction.summarize
(StringColumn column) abstract String
StringFunction.summarize
(StringColumn column) Deprecated. -
Uses of StringColumn in tech.tablesaw.api
Methods in tech.tablesaw.api that return StringColumnModifier and TypeMethodDescriptionAdd all the strings in the list to this columnAdded for naming consistency with all other columnsAppends all the values in the argument to the bottom of this column and return this columnStringColumn.appendCell
(String object) Add one element to the bottom of this column and set its value to the parsed value of the given String.StringColumn.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 parserStringColumn.appendMissing()
Appends a missing value appropriate to the columnAppends the given value to the bottom of this column and return this columnNumericColumn.asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column valuesStringColumn.asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column valuesTextColumn.asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column valuesStringColumn.copy()
Returns a deep copy of the receiverstatic StringColumn
static StringColumn
static StringColumn
static StringColumn
StringColumn.create
(String name, Collection<String> strings) static StringColumn
static StringColumn
StringColumn.createInternal
(String name, DictionaryMap map) StringColumn.emptyCopy()
Returns a copy of the receiver with no data.StringColumn.emptyCopy
(int rowSize) Returns an empty copy of the receiver, with its internal storage initialized to the given row size.StringColumn.lag
(int n) Returns a column of the same type and size as the receiver, containing the receivers values offset by n.StringColumn.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.StringColumn.removeMissing()
Returns a copy of this column with the missing values removedSets the value at index row to the given value and return this columnConditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaStringColumn.setMissing
(int i) Sets the value at index i to the missing-value indicator for this column type, and return this columnStringColumn.unique()
Returns a new Column containing all the unique values in this columnReturns a new column containing the subset referenced by theSelection
-
Uses of StringColumn in tech.tablesaw.columns
Methods in tech.tablesaw.columns that return StringColumnModifier and TypeMethodDescriptionAbstractColumn.asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column valuesColumn.asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column values -
Uses of StringColumn in tech.tablesaw.columns.dates
Methods in tech.tablesaw.columns.dates that return StringColumnModifier and TypeMethodDescriptiondefault StringColumn
DateMapFunctions.dayOfWeek()
default StringColumn
DateMapFunctions.month()
default StringColumn
DateMapFunctions.yearDay()
Returns a StringColumn with the year and day-of-year derived from this column concatenated into a String that will sort lexicographically in temporal order.default StringColumn
DateMapFunctions.yearMonth()
Returns a StringColumn with the year and month from this column concatenated into a String that will sort lexicographically in temporal order.default StringColumn
DateMapFunctions.yearQuarter()
Returns a StringColumn with the year and quarter from this column concatenated into a String that will sort lexicographically in temporal order.default StringColumn
DateMapFunctions.yearWeek()
Returns a StringColumn with the year and week-of-year derived from this column concatenated into a String that will sort lexicographically in temporal order. -
Uses of StringColumn in tech.tablesaw.columns.datetimes
Methods in tech.tablesaw.columns.datetimes that return StringColumnModifier and TypeMethodDescriptiondefault StringColumn
DateTimeMapFunctions.dayOfWeek()
default StringColumn
DateTimeMapFunctions.hourMinute()
Returns a StringColumn with the year and week-of-year derived from this column concatenated into a String that will sort lexicographically in temporal order.default StringColumn
DateTimeMapFunctions.month()
Returns a StringColumn containing the name of the month for each date/time in this columndefault StringColumn
DateTimeMapFunctions.yearDay()
Returns a StringColumn with the year and day-of-year derived from this column concatenated into a String that will sort lexicographically in temporal order.default StringColumn
DateTimeMapFunctions.yearMonth()
Returns a StringColumn with the year and month from this column concatenated into a String that will sort lexicographically in temporal order.default StringColumn
DateTimeMapFunctions.yearQuarter()
Returns a StringColumn with the year and quarter from this column concatenated into a String that will sort lexicographically in temporal order.default StringColumn
DateTimeMapFunctions.yearWeek()
Returns a StringColumn with the year and week-of-year derived from this column concatenated into a String that will sort lexicographically in temporal order. -
Uses of StringColumn in tech.tablesaw.columns.strings
Methods in tech.tablesaw.columns.strings that return StringColumnModifier and TypeMethodDescriptiondefault StringColumn
StringMapFunctions.abbreviate
(int maxWidth) Abbreviates a String using ellipses.default StringColumn
StringMapFunctions.capitalize()
Capitalizes each String changing the first character of each to title case as perCharacter.toTitleCase(int)
, as if in a sentence.default StringColumn
StringMapFunctions.commonPrefix
(Column<String> column2) default StringColumn
StringMapFunctions.commonSuffix
(Column<String> column2) default StringColumn
StringMapFunctions.concatenate
(Object... stringsToAppend) Return a copy of this column with the given string appended to each elementdefault StringColumn
StringMapFunctions.concatenate
(Column<?>... stringColumns) Return a copy of this column with the corresponding value of each column argument appended to each element. getString is used to ensure the value returned by the args are stringsdefault StringColumn
default StringColumn
Return a copy of this column with the given string appendeddefault StringColumn
StringMapFunctions.lowerCase()
default StringColumn
StringMapFunctions.padEnd
(int minLength, char padChar) default StringColumn
StringMapFunctions.padStart
(int minLength, char padChar) default StringColumn
StringMapFunctions.repeat
(int times) Repeats each the column's values elementwise, concatinating the results into a new StringColumndefault StringColumn
StringMapFunctions.replaceAll
(String[] regexArray, String replacement) Creates a new column, replacing each string in this column with a new string formed by replacing any substring that matches the regexdefault StringColumn
StringMapFunctions.replaceAll
(String regex, String replacement) default StringColumn
StringMapFunctions.replaceFirst
(String regex, String replacement) default StringColumn
StringMapFunctions.substring
(int start) Returns a column containing the substrings from start to the end of the inputdefault StringColumn
StringMapFunctions.substring
(int start, int end) default StringColumn
StringMapFunctions.tokenizeAndRemoveDuplicates
(String separator) default StringColumn
StringMapFunctions.tokenizeAndSort()
Splits on Whitespace and returns the lexicographically sorted result.default StringColumn
StringMapFunctions.tokenizeAndSort
(String separator) default StringColumn
Returns a column of arbitrary size containing each token in this column, where a token is defined using the given separator.default StringColumn
StringMapFunctions.trim()
default StringColumn
StringMapFunctions.uniqueTokens
(String separator) Returns a column of arbitrary size containing each unique token in this column, where a token is defined using the given separator, and uniqueness is calculated across the entire columndefault StringColumn
StringMapFunctions.upperCase()
-
Uses of StringColumn in tech.tablesaw.columns.times
Methods in tech.tablesaw.columns.times that return StringColumnModifier and TypeMethodDescriptiondefault StringColumn
TimeMapFunctions.hourMinute()
Returns a StringColumn with the hour and minute-of-hour derived from this column concatenated into a String that will sort lexicographically in temporal order. -
Uses of StringColumn in tech.tablesaw.table
Methods in tech.tablesaw.table that return StringColumnModifier and TypeMethodDescriptionRelation.stringColumn
(int columnIndex) Returns the StringColumn at the given 0-based index if present.Relation.stringColumn
(String columnName) Returns a StringColumn with the given name if it is present in this Relation.Relation.stringColumns()
Returns all the StringColumns in this Relation as an Array