createFrameColumn

fun <T> createFrameColumn(name: String, groups: List<DataFrame<T>>, schema: Lazy<DataFrameSchema>? = null): FrameColumn<T>

Creates FrameColumn using the given name and list of dataframes groups.

groups must be a non-null list of DataFrames, as FrameColumn does not allow null values. This is NOT checked at runtime for efficiency, nor is the validity of given schema.

Parameters

name

name of the frame column

groups

the dataframes to be put in the column

schema

an optional (lazily calculated) DataFrameSchema representing the intersecting schema of groups


fun <T> createFrameColumn(name: String, df: DataFrame<T>, startIndices: Iterable<Int>): FrameColumn<T>

Deprecated (with error)

Removed from public API as this can likely better be solved by `DataFrame.chunked()`. Replaced by internal df.chunkedImpl(). Will be ERROR in 1.0.

Replace with

import org.jetbrains.kotlinx.dataframe.impl.api.chunkedImpl
df.chunkedImpl(startIndices, name)