colsInGroups

open fun ColumnSet<*>.colsInGroups(): ColumnSet<*>

Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ colsOf<DataRow<MyGroupType>>().colsInGroups() }

Return

A ColumnSet containing the cols.

See also


Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ colsInGroups() }

Return

A ColumnSet containing the cols.

See also


Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ myColumnGroup.colsInGroups{ it.any{ it == "Alice" } } }

Return

A ColumnSet containing the cols.

See also


Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ "myColumnGroup".colsInGroups() }

Return

A ColumnSet containing the cols.

See also


Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ "pathTo"["myColumnGroup"].colsInGroups() }

Return

A ColumnSet containing the cols.

See also


open fun ColumnSet<*>.colsInGroups(predicate: (ColumnWithPath<*>) -> Boolean = { true }): ColumnSet<*>

Deprecated

Deprecated shortcut for better compiler plugin support. Will be ERROR in 1.1.

Replace with

this.colsInGroups().filter(predicate)

Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ cols{ .. }.colsInGroups{ "my" init.name} }

df.select{ colsOf<DataRow<MyGroupType>>().colsInGroups() }

Return

A ColumnSet containing the cols.

See also


open fun ColumnsSelectionDsl<*>.colsInGroups(predicate: (ColumnWithPath<*>) -> Boolean = { true }): ColumnSet<*>

Deprecated

Deprecated shortcut for better compiler plugin support. Will be ERROR in 1.1.

Replace with

this.colsInGroups().filter(predicate)

Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ colsInGroups{ "my" init.name} }

df.select{ colsInGroups() }

Return

A ColumnSet containing the cols.

See also


open fun SingleColumn<DataRow<*>>.colsInGroups(predicate: (ColumnWithPath<*>) -> Boolean = { true }): ColumnSet<*>

Deprecated

Deprecated shortcut for better compiler plugin support. Will be ERROR in 1.1.

Replace with

this.colsInGroups().filter(predicate)

Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ myColumnGroup.colsInGroups() }

df.select{ myColumnGroup.colsInGroups{ it.any{ it == "Alice" } } }

Return

A ColumnSet containing the cols.

See also


open fun String.colsInGroups(predicate: (ColumnWithPath<*>) -> Boolean = { true }): ColumnSet<*>

Deprecated

Deprecated shortcut for better compiler plugin support. Will be ERROR in 1.1.

Replace with

this.colsInGroups().filter(predicate)

Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ "myColumnGroup".colsInGroups() }

Return

A ColumnSet containing the cols.

See also


open fun KProperty<*>.colsInGroups(predicate: (ColumnWithPath<*>) -> Boolean = { true }): ColumnSet<*>

Deprecated

It's recommended to migrate to the String or Extension Properties Access API https://kotlin.github.io/dataframe/apilevels.html

Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ Type::myColumnGroup.colsInGroups() }

df.select{ DataSchemaType::myColumnGroup.colsInGroups() }

Return

A ColumnSet containing the cols.

See also


open fun ColumnPath.colsInGroups(predicate: (ColumnWithPath<*>) -> Boolean = { true }): ColumnSet<*>

Deprecated

Deprecated shortcut for better compiler plugin support. Will be ERROR in 1.1.

Replace with

this.colsInGroups().filter(predicate)

Cols in Groups

colsInGroups is a function that returns all columns at the top-levels of all column groups in this. This is useful if you want to select all columns that are "one level deeper".

NOTE: This function should not be confused with cols, which operates on all columns directly in this, or with colsAtAnyDepth, which operates on all columns in this at any depth.

For more information: See colsInGroups on the documentation website.

Check out: Grammar

For example:

To get only the columns inside all column groups in a DataFrame, instead of having to write:

df.select{ colGroupA.cols() andcolGroupB.cols() ... }

you can use:

df.select{ colsInGroups() }

and

df.select{ colsInGroups().nameContains("user") }

    

Similarly, you can take the columns inside all column groups in a ColumnSet:

    

df.select{ colGroups().nameContains("my").colsInGroups() }

    

Examples of this overload:

df.select{ "pathTo"["myColumnGroup"].colsInGroups() }

Return

A ColumnSet containing the cols.

See also