allBefore

open fun <C> ColumnSet<C>.allBefore(column: (ColumnWithPath<C>) -> Boolean): ColumnSet<C>

All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ cols{ .. }.allBefore{ myColumn init.name} }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


open fun <C> ColumnSet<C>.allBefore(column: ColumnPath): ColumnSet<C>

All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ cols{ .. }.allBefore("pathTo"["myColumn"]) }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


open fun <C> ColumnSet<C>.allBefore(column: String): ColumnSet<C>

All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ cols{ .. }.allBefore("myColumn") }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


open fun <C> ColumnSet<C>.allBefore(column: ColumnReference<*>): ColumnSet<C>

All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ cols{ .. }.allBefore(myColumn) }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ allBefore{ myColumn } }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ allBefore("pathTo"["myColumn"]) }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ allBefore("myColumn") }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ allBefore(myColumn) }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


open fun <C> ColumnSet<C>.allBefore(column: KProperty<*>): ColumnSet<C>

Deprecated

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

All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ cols{ .. }.allBefore(Type::myColumn) }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also


open fun ColumnsSelectionDsl<*>.allBefore(column: KProperty<*>): ColumnSet<*>

Deprecated

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

All (Cols) Before

Creates a new ColumnSet that contains a subset of columns from this, containing all columns before column, excluding column itself.

column can be specified both relative to the current ColumnGroup or the outer scope and can be referenced using any Access APIs.

If column does not exist, the function will return a ColumnSet containing all columns.

    

NOTE: Using the {} overloads of these functions requires a ColumnSelector in the Plain DSL and on column groups. On ColumnSets it requires a ColumnFilter instead.

For more information: See all(Cols) After/Before/From/UpTo on the documentation website.

Check out: Grammar

For example:

df.select{ allBefore("someColumn") }

df.select{ colGroup(Type::myColGroup).allColsBefore(someColumn) }

df.select{ colsOf<Int>().allBefore(Type::someColumn) }

Examples for this overload:

df.select{ allBefore(Type::myColumn) }

Flavors of All (Cols):

  • all(Cols)(): All columns

  • all(Cols)Before(column): All columns before the specified column, excluding that column

  • all(Cols)After(column): All columns after the specified column, excluding that column

  • all(Cols)From(column): All columns from the specified column, including that column

  • all(Cols)UpTo(column): All columns up to the specified column, including that column

Return

A new ColumnSet containing all columns before column, excluding column itself.

Parameters

column

The specified column before which all columns should be taken. This column can be referenced to both relatively to the current ColumnsResolver and absolutely.

See also