asFrame

Converts column groups previously selected with convert as a DataFrame using a dataframe expression.

For more information: See convert on the documentation website.

Example:

// Add a column to selected column group "name".
df.convert { name }.asFrame { it.add("fullName") { "$firstName $lastName" } }

Parameters

expression

The DataFrame Expression to replace the selected column group with.


As Frame

Updates selected column group as a DataFrame with the given expression.

Provide a new value for every selected dataframe using a dataframe expression.

For example:

df.update{ name }.asFrame{ select{ lastName } }

For more information: See update on the documentation website.

Parameters

expression

The DataFrame Expression to replace the selected column group with.