FrameColumnImpl
Constructors
Properties
Functions
Returns a new ColumnSet containing all columns after the first column that matches the given predicate.
Returns a new ColumnSet containing all columns before the first column that satisfies the given predicate.
Returns a new ColumnSet that contains all columns from inside the receiver column group except those specified in the "other" ColumnsResolver.
If this is a SingleColumn containing a single ColumnGroup (like SingleColumn<AnyRow> or ColumnsSelectionDsl), it returns a (transformable) ColumnSet containing the children of this ColumnGroup, else it simply returns a (transformable) ColumnSet from this (like when this is a ColumnSet).
Returns a column set containing all columns from the internal column set that satisfy the given predicate.
Returns a ColumnSet containing all columns up to (and including) the first column that satisfies the given predicate.
Returns true if at least one element in this DataColumn satisfies the given predicate.
Creates a ColumnAccessor<DataRow<C>> from this. This is especially useful when you want to use ColumnGroup functions in the ColumnsSelectionDsl but your column type is not recognized as a ColumnGroup. If you're not sure whether a column is recognized as ColumnGroup or not, you can always call asColumnGroup and it will return the same type if it is already a ColumnGroup.
Returns an Iterable over the values of this DataColumn.
Returns a Sequence over the values of this DataColumn.
Returns a DataColumn of Boolean values indicating whether each element in this column lies between left and right.
Groups consecutive values of this DataColumn into lists of at most size elements.
Splits a DataColumn of DataRow into a FrameColumn of sub-dataframes with up to size rows in each chunk.
Returns all columns inside this ColumnsResolver at any depth if they satisfy the given predicate.
If this ColumnsResolver is a SingleColumn, it returns a new ColumnSet containing the columns inside of this SingleColumn that match the given predicate.
If this ColumnsResolver is a SingleColumn, it returns a new ColumnSet containing the columns inside of this SingleColumn that match the given filter and are the given type.
Returns a ColumnSet containing the column groups that satisfy the given filter.
Returns a TransformableColumnSet containing the columns of given kind(s) that satisfy the given filter.
Returns a List containing the elements of every Collection stored in this column.
Returns a DataColumn containing the values of this column followed by the values of other.
Converts values in this column to the specified type C.
Converts values in this column to the specified type.
Converts values in this String column to the specified type C.
Converts values in this String column to the specified type.
Converts values in this column to BigDecimal. Preserves null values.
Converts values in this column to BigDecimal.
Converts values in this column to BigInteger. Preserves null values.
Converts values in this column to BigInteger.
Converts values in this column to Boolean. Preserves null values.
Converts values in this column to Boolean.
Converts values in this String column to DateTimeComponents. Preserves null values.
Converts values in this String column to DateTimeComponents.
Converts values in this String column to the deprecated kotlinx.datetime.Instant. Preserves null values.
Converts values in this String column to the deprecated kotlinx.datetime.Instant.
Converts values in this column to Double. Preserves null values.
Converts values in this column to Double.
Converts values in this column to Duration. Preserves null values.
Converts values in this column to Duration.
Converts values in this column to Float. Preserves null values.
Converts values in this column to Float.
Deprecated:
Converts values in this column to JavaDuration. Preserves null values.
Converts values in this column to JavaDuration.
Converts values in this column to JavaInstant. Preserves null values.
Converts values in this column to JavaInstant.
Converts values in this column to JavaLocalDate. Preserves null values.
Converts values in this column to JavaLocalDate.
Converts values in this nullable String column to JavaLocalDate. Preserves null values.
Converts values in this String column to JavaLocalDate.
Converts values in this column to JavaLocalDateTime. Preserves null values.
Converts values in this column to JavaLocalDateTime.
Converts values in this nullable String column to JavaLocalDateTime. Preserves null values.
Converts values in this String column to JavaLocalDateTime.
Converts values in this column to JavaLocalTime. Preserves null values.
Converts values in this column to JavaLocalTime.
Converts values in this nullable String column to JavaLocalTime. Preserves null values.
Converts values in this String column to JavaLocalTime.
Converts values in this column to LocalDate. Preserves null values.
Converts values in this column to LocalDate.
Converts values in this DateTimeComponents column to LocalDate. Preserves null values.
Converts values in this DateTimeComponents column to LocalDate.
Converts values in this Int column to LocalDate. Preserves null values.
Converts values in this Int column to LocalDate.
Converts values in this Long column to LocalDate. Preserves null values.
Converts values in this Long column to LocalDate.
Converts values in this String column to LocalDate. Preserves null values.
Converts values in this String column to LocalDate.
Converts values in this column to LocalDateTime. Preserves null values.
Converts values in this column to LocalDateTime.
Converts values in this DateTimeComponents column to LocalDateTime. Preserves null values.
Converts values in this DateTimeComponents column to LocalDateTime.
Converts values in this Int column to LocalDateTime. Preserves null values.
Converts values in this Int column to LocalDateTime.
Converts values in this Long column to LocalDateTime. Preserves null values.
Converts values in this Long column to LocalDateTime.
Converts values in this String column to LocalDateTime. Preserves null values.
Converts values in this String column to LocalDateTime.
Converts values in this kotlin.time.Instant column to LocalDateTime. Preserves null values.
Converts values in this kotlin.time.Instant column to LocalDateTime.
Converts values in this kotlinx.datetime.Instant column to LocalDateTime. Preserves null values.
Converts values in this kotlinx.datetime.Instant column to LocalDateTime.
Converts values in this column to LocalTime. Preserves null values.
Converts values in this column to LocalTime.
Converts values in this DateTimeComponents column to LocalTime. Preserves null values.
Converts values in this DateTimeComponents column to LocalTime.
Converts values in this Int column to LocalTime. Preserves null values.
Converts values in this Int column to LocalTime.
Converts values in this Long column to LocalTime. Preserves null values.
Converts values in this Long column to LocalTime.
Converts values in this String column to LocalTime. Preserves null values.
Converts values in this String column to LocalTime.
Converts values in this column to Short. Preserves null values.
Converts values in this column to Short.
Converts values in this String column to kotlin.time.Instant. Preserves null values.
Converts values in this String column to kotlin.time.Instant.
Converts values in this kotlinx.datetime.Instant column to kotlin.time.Instant. Preserves null values.
Converts values in this kotlinx.datetime.Instant column to kotlin.time.Instant.
Converts values in this DateTimeComponents column to kotlin.time.Instant. Preserves null values.
Converts values in this DateTimeComponents column to kotlin.time.Instant.
Converts values in this column to String. Preserves null values.
Converts values in this column to String.
Converts values in this DateTimeComponents column to UtcOffset. Preserves null values.
Converts values in this DateTimeComponents column to UtcOffset.
Converts values in this DateTimeComponents column to YearMonth. Preserves null values.
Converts values in this DateTimeComponents column to YearMonth.
Counts the elements in this DataColumn that satisfy a given predicate or returns the total count if no predicate is provided.
Computes the cumulative sums of the values in each column from the DataColumn from the first cell to the last cell.
Computes descriptive statistics for a given DataColumn, returning a DataFrame with key summary metrics.
Returns a DataColumn containing the results of dividing each element of this DataColumn by value.
Returns a ColumnReference containing the results of dividing each element of this ColumnReference by value.
Returns a DataColumn containing only the values that do not match the given predicate.
Returns a DataColumn containing all values of this DataColumn except the first n values.
Returns a DataColumn containing all values of this DataColumn except the last n values.
Removes values from this NADataColumn, adjusting the type accordingly.
Removes values from this NaNDataColumn, adjusting the type accordingly.
Removes null values from this DataColumn, adjusting the type accordingly.
Checks the validity of this SingleColumn, by adding a check to see it's a ColumnGroup (so, a SingleColumn<*>) and throwing an IllegalArgumentException if it's not.
Checks the validity of this SingleColumn, by adding a check to see it's a FrameColumn (so, a SingleColumn<*>) and throwing an IllegalArgumentException if it's not.
Checks the validity of this SingleColumn, by adding a check to see it's a ValueColumn (so, a SingleColumn<*>) and throwing an IllegalArgumentException if it's not.
Returns a DataColumn containing the results of comparing each element of this DataColumn with value for equality using the == operator.
Returns a new SingleColumn
Splits list-like values in this DataColumn and spreads them vertically — that is, it adds a separate row for each element (one value per row).
Explodes a DataColumn of DataFrame values into a single ColumnGroup.
Returns a new DataColumn containing only the elements that match the given predicate.
Returns the first value in this DataColumn.
Returns the first value in this DataColumn that matches the given predicate.
Returns the first value in this DataColumn. If the DataColumn is empty, returns null.
Returns the first value in this DataColumn that matches the given predicate. Returns null if the DataColumn contains no elements matching the predicate (including the case when the DataColumn is empty).
Flattens a ColumnsResolver recursively.
Calls action for every value of this DataColumn, from the first one to the last one.
Calls action for every value of this DataColumn and its position, from the first value to the last one.
Returns a TransformableColumnSet containing the frame columns that satisfy the given filter.
Returns a DataColumn containing the results of comparing each element of this DataColumn with value using the > operator.
Returns true if this column is a ColumnGroup, i.e., its kind is ColumnKind.Group.
Returns true if this column is intra-comparable (mutually comparable), i.e., its values can be compared with each other and thus ordered.
Returns true if this column is a FrameColumn, i.e., its kind is ColumnKind.Frame.
Returns true only when this column's type is exactly Number or Number?.
Returns true when this column's type is a subtype of Number?
Returns true if this column is a ValueColumn, i.e., its kind is ColumnKind.Value.
Returns the last value in this DataColumn.
Returns the last value in this DataColumn that matches the given predicate.
Returns the last value in this DataColumn. If the DataColumn is empty, returns null.
Returns the last value in this DataColumn that matches the given predicate. Returns null if the DataColumn contains no elements matching the predicate (including the case when the DataColumn is empty).
Returns a DataColumn containing the results of comparing each element of this DataColumn with value using the < operator.
Returns a new DataColumn with the values that transform computes from the values of this column.
Returns a new DataColumn of the given type with the values that transform computes from the values of this column.
Returns a new DataColumn with the values that transform computes from the values of this column and their positions.
Returns a new DataColumn of the given type with the values that transform computes from the values of this column and their positions.
Returns the maximum of the values in this DataColumn.
Returns the first element of this DataColumn for which the given selector returns the maximum value.
Returns the first element of this DataColumn for which the given selector returns the maximum value, or null if there is nothing to compare.
Returns the maximum of the values that the given selector returns for each element of this DataColumn, or null if there is nothing to compare.
Returns the maximum of the values in this DataColumn, or null if there is nothing to compare.
Returns the max number of columns needed to display this column flattened
Returns the mean of the values in this DataColumn, as a Double.
Returns the mean of the values that the given expression returns for each element of this DataColumn, as a Double.
Returns the median of the comparable values in this DataColumn.
Returns the median of the numbers in this DataColumn, as a Double.
Returns the element of this DataColumn at the median of the values that the given selector returns for each element.
Returns the element of this DataColumn at the median of the values that the given selector returns for each element, or null if there is nothing to compute the median of.
Returns the median of the comparable values that the given expression returns for each element of this DataColumn.
Returns the median of the numbers that the given expression returns for each element of this DataColumn, as a Double.
Returns the median of the comparable values that the given expression returns for each element of this DataColumn, or null if there is nothing to compute the median of.
Returns the median of the numbers that the given expression returns for each element of this DataColumn, as a Double, or null if there is nothing to compute the median of.
Returns the median of the comparable values in this DataColumn, or null if there is nothing to compute the median of.
Returns the median of the numbers in this DataColumn, as a Double, or null if there is nothing to compute the median of.
Returns the minimum of the values in this DataColumn.
Returns the first element of this DataColumn for which the given selector returns the minimum value.
Returns the first element of this DataColumn for which the given selector returns the minimum value, or null if there is nothing to compare.
Returns the minimum of the values that the given selector returns for each element of this DataColumn, or null if there is nothing to compare.
Returns the minimum of the values in this DataColumn, or null if there is nothing to compare.
Returns a DataColumn where each element is the result of subtracting value from the corresponding element of this DataColumn.
Returns a ColumnReference where each element is the result of subtracting value from the corresponding element of this ColumnReference.
Returns a DataColumn containing the results of comparing each element of this DataColumn with value for inequality using the != operator.
Returns a DataColumn containing the inverse Boolean values of this DataColumn. Each null value in the original DataColumn is preserved.
Returns a DataColumn containing the inverse Boolean values of this DataColumn.
Returns a ColumnReference containing the inverse Boolean values of this ColumnReference. Each null value in the original ColumnReference is preserved.
Returns a ColumnReference containing the inverse Boolean values of this ColumnReference.
Helper function to perform runtime checks on a SingleColumn.
Tries to parse a column of chars as strings into a column of a different type. Each parser in Parsers is run in order until a valid parser is found, a.k.a. that parser was able to parse all values in the column successfully. If a parser fails to parse any value, the next parser is tried.
Tries to parse a column of strings into a column of a different type. Each parser in Parsers is run in order until a valid parser is found, a.k.a. that parser was able to parse all values in the column successfully. If a parser fails to parse any value, the next parser is tried.
Returns the given percentile of the comparable values in this DataColumn.
Returns the given percentile of the numbers in this DataColumn, as a Double.
Returns the element of this DataColumn at the given percentile of the values that the given selector returns for each element.
Returns the element of this DataColumn at the given percentile of the values that the given selector returns for each element, or null if there is nothing to compute the percentile of.
Returns the given percentile of the comparable values that the given expression returns for each element of this DataColumn.
Returns the given percentile of the numbers that the given expression returns for each element of this DataColumn, as a Double.
Returns the given percentile of the comparable values that the given expression returns for each element of this DataColumn, or null if there is nothing to compute the percentile of.
Returns the given percentile of the numbers that the given expression returns for each element of this DataColumn, as a Double, or null if there is nothing to compute the percentile of.
Returns the given percentile of the comparable values in this DataColumn, or null if there is nothing to compute the percentile of.
Returns the given percentile of the numbers in this DataColumn, as a Double, or null if there is nothing to compute the percentile of.
Returns a DataColumn of String values obtained by converting each element of this AnyCol to a String and concatenating it with str.
Returns a DataColumn where each element is the result of adding value to the corresponding element of this DataColumn.
Returns a ColumnReference of String values obtained by converting each element of this ColumnReference to a String and concatenating it with str.
Returns a ColumnReference where each element is the result of adding value to the corresponding element of this ColumnReference.
Resolves this ColumnsResolver as a List<ColumnWithPath<C>>. In many cases this function transforms a parent ColumnsResolver to reach the current ColumnsResolver result.
Returns a new DataColumn with the same values in reversed order, so the last value becomes the first one.
Returns a new FrameColumn with the same dataframes in reversed order, so the last dataframe becomes the first one.
Returns a new DataColumn with values in random order using the default randomness.
Returns a new DataColumn with the same values in random order using the provided random source.
Simplifies structure by removing columns that are already present in column groups in this.
Returns the single value in this DataColumn.
Converts this ColumnsResolver to a SingleColumn. resolveSingle will return the single column of this if there is only one, else it will throw an exception: In case of an empty ColumnsResolver, a NoSuchElementException will be thrown. In case of more than one column, an IllegalArgumentException will be thrown. If the result is used as a ColumnSet, null will be converted to an empty list.
Converts this ColumnsResolver to a SingleColumn. resolveSingle will return the single column of this if there is only one, else it will return null. If the result used as a ColumnSet, null will be converted to an empty list.
Sorts the values in this column in ascending order.
Sorts the values in this column in descending order.
Returns the standard deviation of the values in this DataColumn, as a Double.
Returns the standard deviation of the values that the given expression returns for each element of this DataColumn, as a Double.
Returns the sum of the Byte values in this DataColumn, as an Int.
Returns the sum of the Short values in this DataColumn, as an Int.
Returns the sum of the values in this DataColumn.
Returns the sum of the Byte values that the given expression returns for each element of this DataColumn, as an Int.
Returns the sum of the Short values that the given expression returns for each element of this DataColumn, as an Int.
Returns the sum of the values that the given expression returns for each element of this DataColumn.
Returns a DataColumn containing the first n values of this DataColumn.
Returns a DataColumn containing the last n values of this DataColumn.
Returns a DataColumn containing the results of multiplying each element of this DataColumn by value.
Returns a ColumnReference containing the results of multiplying each element of this ColumnReference by value.
Converts a list of lists values in this DataColumn to DataFrame.
Applies a transformation on this by converting its List<ColumnWithPath<A>] to List<ColumnWithPath<B>] using converter.
Applies a transformation on this SingleColumn by converting its single ColumnWithPath<A> to List<ColumnWithPath<B>] using converter. Since converter allows you to return multiple columns, the result is turned into a ColumnSet<B>.
Applies a transformation on this SingleColumn by converting its single ColumnWithPath<A> to List<ColumnWithPath<B>] using converter but also providing the ColumnResolutionContext to the converter.
Applies a transformation on this by converting its List<ColumnWithPath<A>] to List<ColumnWithPath<B>] using converter, but also providing the ColumnResolutionContext to the converter.
Tries to parse a column of chars into a column of a different type. Each parser in Parsers is run in order until a valid parser is found, a.k.a. that parser was able to parse all values in the column successfully. If a parser fails to parse any value, the next parser is tried. If all the others fail, the final parser returns strings.
Tries to parse a column of strings into a column of a different type. Each parser in Parsers is run in order until a valid parser is found, a.k.a. that parser was able to parse all values in the column successfully. If a parser fails to parse any value, the next parser is tried. If all the others fail, the final parser simply returns the original string, leaving the column unchanged.
Tries to parse a column of strings into a column of a different type. Each parser in Parsers is run in order until a valid parser is found, a.k.a. that parser was able to parse all values in the column successfully. If a parser fails to parse any value, the next parser is tried. If all the others fail, the final parser simply returns the original string, leaving the column unchanged.
Returns a DataColumn containing negatives of the corresponding elements of this DataColumn.
Returns a ColumnReference containing negatives of the corresponding elements of this ColumnReference.
Returns a ColumnGroup made from the objects of this column, with a column for every public property of these objects, or this column itself when it cannot be unfolded.
Replaces all values in the column asserting that new values are compatible with the current column kind.
Returns a TransformableColumnSet containing the value columns that satisfy the given filter.
Returns a DataFrame containing counts of unique values in this DataColumn.
Returns true if this column is intra-comparable (mutually comparable), i.e., its values can be compared with each other and thus ordered.