simplify

open fun <C> ColumnSet<C>.simplify(): ColumnSet<C>

Simplify ColumnSet

Given a this ColumnSet, simplify simplifies the structure by removing columns that are already present in column groups, returning only these groups plus columns not belonging in any of the groups.

In other words, this means that if a column in this is inside another column group in this, it will not be included in the result.

For more information: See simplify on the documentation website.

Check out: Grammar

For example:

cols(a, a.b, d.c).simplify() == cols(a, d.c)

    

df.select{ colsAtAnyDepth{ "e" init.name}.simplify() }

Return

A ColumnSet<C> containing only the columns that are not inside any column group in this.