invoke
Invokes the given ColumnsSelector using this ColumnsSelectionDsl.
Select from ColumnGroup
Perform a selection of columns using the Columns Selection DSL on any ColumnGroup. This is more powerful than the cols filter, because now all operations of the DSL are at your disposal.
The scope of the new DSL instance is relative to the ColumnGroup you are selecting from.
The invoke operator is overloaded to work as a shortcut for this method.
For more information: See Select from Column Group on the documentation website.
Check out: Grammar
For example:
df.select{ myColGroup.select{ someCol andcolsOf<String>() } }
df.select{ "myGroupCol" {"colA" and expr{ 0 } }}
df.select{ "pathTo"["myGroupCol"].select{ "colA" and "colB" } }
df.select{ it["myGroupCol"].asColumnGroup()() {"colA" and "colB" }}
Examples for this overload:
df.select{ myColGroup.select{ someCol andcolsOf<String>() } }
df.select{ myColGroup {colA andcolB }}
See also except/allExcept for the inverted operation of this function.
Receiver
The ColumnGroup to select from.
Return
Parameters
The ColumnsSelector to use for the selection.
See also
Throws
If this is not a ColumnGroup.
Select from ColumnGroup
Perform a selection of columns using the Columns Selection DSL on any ColumnGroup. This is more powerful than the cols filter, because now all operations of the DSL are at your disposal.
The scope of the new DSL instance is relative to the ColumnGroup you are selecting from.
The invoke operator is overloaded to work as a shortcut for this method.
For more information: See Select from Column Group on the documentation website.
Check out: Grammar
For example:
df.select{ myColGroup.select{ someCol andcolsOf<String>() } }
df.select{ "myGroupCol" {"colA" and expr{ 0 } }}
df.select{ "pathTo"["myGroupCol"].select{ "colA" and "colB" } }
df.select{ it["myGroupCol"].asColumnGroup()() {"colA" and "colB" }}
Examples for this overload:
df.select{ "myColGroup".select{ someCol andcolsOf<String>() } }
df.select{ "myColGroup" {colA andcolB }}
See also except/allExcept for the inverted operation of this function.
Receiver
The ColumnGroup to select from.
Return
Parameters
The ColumnsSelector to use for the selection.
See also
Throws
If this is not a ColumnGroup.
Select from ColumnGroup
Perform a selection of columns using the Columns Selection DSL on any ColumnGroup. This is more powerful than the cols filter, because now all operations of the DSL are at your disposal.
The scope of the new DSL instance is relative to the ColumnGroup you are selecting from.
The invoke operator is overloaded to work as a shortcut for this method.
For more information: See Select from Column Group on the documentation website.
Check out: Grammar
For example:
df.select{ myColGroup.select{ someCol andcolsOf<String>() } }
df.select{ "myGroupCol" {"colA" and expr{ 0 } }}
df.select{ "pathTo"["myGroupCol"].select{ "colA" and "colB" } }
df.select{ it["myGroupCol"].asColumnGroup()() {"colA" and "colB" }}
Examples for this overload:
df.select{ "pathTo"["myColGroup"].select{ someCol andcolsOf<String>() } }
df.select{ "pathTo"["myColGroup"] {colA andcolB }}
df.select{ pathOf("pathTo", "myColGroup").select{ someCol andcolsOf<String>() } }
df.select{ pathOf("pathTo", "myColGroup")() {someCol andcolsOf<String>() }}
See also except/allExcept for the inverted operation of this function.
Receiver
The ColumnGroup to select from.
Return
Parameters
The ColumnsSelector to use for the selection.
See also
Throws
If this is not a ColumnGroup.
Deprecated
It's recommended to migrate to the String or Extension Properties Access API https://kotlin.github.io/dataframe/apilevels.html
Select from ColumnGroup
Perform a selection of columns using the Columns Selection DSL on any ColumnGroup. This is more powerful than the cols filter, because now all operations of the DSL are at your disposal.
The scope of the new DSL instance is relative to the ColumnGroup you are selecting from.
The invoke operator is overloaded to work as a shortcut for this method.
For more information: See Select from Column Group on the documentation website.
Check out: Grammar
For example:
df.select{ myColGroup.select{ someCol andcolsOf<String>() } }
df.select{ "myGroupCol" {"colA" and expr{ 0 } }}
df.select{ "pathTo"["myGroupCol"].select{ "colA" and "colB" } }
df.select{ it["myGroupCol"].asColumnGroup()() {"colA" and "colB" }}
Examples for this overload:
df.select{ Type::myColGroup.select{ someCol andcolsOf<String>() } }
df.select{ DataSchemaType::myColGroup {colA andcolB }}
See also except/allExcept for the inverted operation of this function.
Receiver
The ColumnGroup to select from.
Return
Parameters
The ColumnsSelector to use for the selection.
See also
Throws
If this is not a ColumnGroup.