addAll

fun <T> DataFrame<T>.addAll(vararg columns: BaseColumn<*>): DataFrame<T>

Adds new columns to the end of this DataFrame (at the top level).

Returns a new DataFrame with the new columns appended to the original list of DataFrame.columns.

For more information: See add on the documentation website.

Return

new DataFrame with added columns.

Parameters

columns

columns to add.

Throws

if columns in an expected result have repeated names.

if columns in an expected result have different sizes.


fun <T> DataFrame<T>.addAll(columns: Iterable<BaseColumn<*>>): DataFrame<T>

Adds new columns to the end of this DataFrame (at the top level).

Returns a new DataFrame with the new columns appended to the original list of DataFrame.columns.

For more information: See add on the documentation website..

Return

new DataFrame with added columns.

Parameters

columns

columns to add.

Throws

if columns in an expected result have repeated names.

if columns in an expected result have different sizes.


fun <T> DataFrame<T>.addAll(vararg dataFrames: DataFrame<*>): DataFrame<T>
@JvmName(name = "addAllFrames")
fun <T> DataFrame<T>.addAll(dataFrames: Iterable<DataFrame<*>>): DataFrame<T>

Adds all columns from the given dataFrames to the end of this DataFrame (at the top level).

Returns a new DataFrame with the columns from the specified dataFrames appended to the original list of DataFrame.columns.

For more information: See add on the documentation website.

Return

new DataFrame with added columns.

Parameters

dataFrames

dataFrames to get columns from.

Throws

if columns in an expected result have repeated names.

if columns in an expected result have different sizes.