frameCols
Frame Columns
Creates a subset of columns from this that are FrameColumns.
You can optionally use a filter to only include certain columns. frameCols can be called using any of the supported APIs (+ ColumnPath).
This function operates solely on columns at the top-level.
For more information: See frameCols on the documentation website.
Check out: Grammar
For example:
df.select{ frameCols{ it.name.startsWith("my") } }
df.select{ colsAtAnyDepth().frameCols() }
df.select{ "myColGroup".frameCols() }
Examples for this overload:
df.select{ cols{ it.name.startsWith("my") }.frameCols() }
// NOTE: This can be shortened to just:
df.select{ frameCols{ it.name.startsWith("my") } }
Return
A ColumnSet of FrameColumns.
Parameters
An optional predicate to filter the frame columns by.
See also
Frame Columns
Creates a subset of columns from this that are FrameColumns.
You can optionally use a filter to only include certain columns. frameCols can be called using any of the supported APIs (+ ColumnPath).
This function operates solely on columns at the top-level.
For more information: See frameCols on the documentation website.
Check out: Grammar
For example:
df.select{ frameCols{ it.name.startsWith("my") } }
df.select{ colsAtAnyDepth().frameCols() }
df.select{ "myColGroup".frameCols() }
Examples for this overload:
df.select{ frameCols{ it.name.startsWith("my") } }
Return
A ColumnSet of FrameColumns.
Parameters
An optional predicate to filter the frame columns by.
See also
Frame Columns
Creates a subset of columns from this that are FrameColumns.
You can optionally use a filter to only include certain columns. frameCols can be called using any of the supported APIs (+ ColumnPath).
This function operates solely on columns at the top-level.
For more information: See frameCols on the documentation website.
Check out: Grammar
For example:
df.select{ frameCols{ it.name.startsWith("my") } }
df.select{ colsAtAnyDepth().frameCols() }
df.select{ "myColGroup".frameCols() }
Examples for this overload:
df.select{ myColGroup.frameCols() }
df.select{ myColGroup.frameCols{ it.name.startsWith("my") } }
Return
A ColumnSet of FrameColumns.
Parameters
An optional predicate to filter the frame columns by.
See also
Frame Columns
Creates a subset of columns from this that are FrameColumns.
You can optionally use a filter to only include certain columns. frameCols can be called using any of the supported APIs (+ ColumnPath).
This function operates solely on columns at the top-level.
For more information: See frameCols on the documentation website.
Check out: Grammar
For example:
df.select{ frameCols{ it.name.startsWith("my") } }
df.select{ colsAtAnyDepth().frameCols() }
df.select{ "myColGroup".frameCols() }
Examples for this overload:
df.select{ "myColGroup".frameCols{ it.name.startsWith("my") } }
df.select{ "myColGroup".frameCols() }
Return
A ColumnSet of FrameColumns.
Parameters
An optional predicate to filter the frame columns by.
See also
Frame Columns
Creates a subset of columns from this that are FrameColumns.
You can optionally use a filter to only include certain columns. frameCols can be called using any of the supported APIs (+ ColumnPath).
This function operates solely on columns at the top-level.
For more information: See frameCols on the documentation website.
Check out: Grammar
For example:
df.select{ frameCols{ it.name.startsWith("my") } }
df.select{ colsAtAnyDepth().frameCols() }
df.select{ "myColGroup".frameCols() }
Examples for this overload:
df.select{ "pathTo"["myGroupCol"].frameCols() }
Return
A ColumnSet of FrameColumns.
Parameters
An optional predicate to filter the frame columns by.
See also
Deprecated
It's recommended to migrate to the String or Extension Properties Access API https://kotlin.github.io/dataframe/apilevels.html
Frame Columns
Creates a subset of columns from this that are FrameColumns.
You can optionally use a filter to only include certain columns. frameCols can be called using any of the supported APIs (+ ColumnPath).
This function operates solely on columns at the top-level.
For more information: See frameCols on the documentation website.
Check out: Grammar
For example:
df.select{ frameCols{ it.name.startsWith("my") } }
df.select{ colsAtAnyDepth().frameCols() }
df.select{ "myColGroup".frameCols() }
Examples for this overload:
df.select{ colGroup(Type::myColGroup).frameCols{ it.name.startsWith("my") } }
df.select{ Type::myColGroup.frameCols() }
df.select{ DataSchemaType::myColGroup.frameCols() }
Return
A ColumnSet of FrameColumns.
Parameters
An optional predicate to filter the frame columns by.