You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Removes the specified [columns] from the original [DataFrame] and returns a new [DataFrame] without them.
25
+
*
26
+
* This operation can also be used on [ColumnGroup][org.jetbrains.kotlinx.dataframe.columns.ColumnGroup] and nested columns.
27
+
*
28
+
* See [Selecting Columns][Select.SelectSelectingOptions].
29
+
*
30
+
* For more information: [See `remove` on the documentation website.](https://kotlin.github.io/dataframe/remove.html)
31
+
*/
32
+
internalinterfaceRemove
33
+
34
+
/**
35
+
* ## The Remove Operation
36
+
*
37
+
* Removes the specified [columns][org.jetbrains.kotlinx.dataframe.columns] from the original [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] and returns a new [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] without them.
38
+
*
39
+
* This operation can also be used on [ColumnGroup][org.jetbrains.kotlinx.dataframe.columns.ColumnGroup] and nested columns.
40
+
*
41
+
* See [Selecting Columns][org.jetbrains.kotlinx.dataframe.api.Select.SelectSelectingOptions].
42
+
*
43
+
* For more information: [See `remove` on the documentation website.](https://kotlin.github.io/dataframe/remove.html)
44
+
* ### This Remove Overload
45
+
* Select or express columns using the [Columns Selection DSL][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl].
* This DSL is initiated by a [Columns Selector][org.jetbrains.kotlinx.dataframe.ColumnsSelector] lambda,
49
+
* which operates in the context of the [Columns Selection DSL][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl] and
50
+
* expects you to return a [SingleColumn][org.jetbrains.kotlinx.dataframe.columns.SingleColumn] or [ColumnSet][org.jetbrains.kotlinx.dataframe.columns.ColumnSet] (so, a [ColumnsResolver][org.jetbrains.kotlinx.dataframe.columns.ColumnsResolver]).
51
+
* This is an entity formed by calling any (combination) of the functions
52
+
* in the DSL that is or can be resolved into one or more columns.
53
+
*
54
+
* #### NOTE:
55
+
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
56
+
* in this DSL directly with any function, they are NOT valid return types for the
57
+
* [Columns Selector][org.jetbrains.kotlinx.dataframe.ColumnsSelector] lambda. You'd need to turn them into a [ColumnReference][org.jetbrains.kotlinx.dataframe.columns.ColumnReference] first, for instance
58
+
* with a function like [`col("name")`][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.col].
* Removes the specified [columns][org.jetbrains.kotlinx.dataframe.columns] from the original [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] and returns a new [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] without them.
86
+
*
87
+
* This operation can also be used on [ColumnGroup][org.jetbrains.kotlinx.dataframe.columns.ColumnGroup] and nested columns.
88
+
*
89
+
* See [Selecting Columns][org.jetbrains.kotlinx.dataframe.api.Select.SelectSelectingOptions].
90
+
*
91
+
* For more information: [See `remove` on the documentation website.](https://kotlin.github.io/dataframe/remove.html)
92
+
* ### This Remove Overload
93
+
* Select columns using their [column names][String]
* Removes the specified [columns][org.jetbrains.kotlinx.dataframe.columns] from the original [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] and returns a new [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] without them.
108
+
*
109
+
* This operation can also be used on [ColumnGroup][org.jetbrains.kotlinx.dataframe.columns.ColumnGroup] and nested columns.
110
+
*
111
+
* See [Selecting Columns][org.jetbrains.kotlinx.dataframe.api.Select.SelectSelectingOptions].
112
+
*
113
+
* For more information: [See `remove` on the documentation website.](https://kotlin.github.io/dataframe/remove.html)
114
+
* ### This Remove Overload
115
+
* Select columns using [column accessors][org.jetbrains.kotlinx.dataframe.columns.ColumnReference]
* Removes the specified [columns][org.jetbrains.kotlinx.dataframe.columns] from the original [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] and returns a new [DataFrame][org.jetbrains.kotlinx.dataframe.DataFrame] without them.
135
+
*
136
+
* This operation can also be used on [ColumnGroup][org.jetbrains.kotlinx.dataframe.columns.ColumnGroup] and nested columns.
137
+
*
138
+
* See [Selecting Columns][org.jetbrains.kotlinx.dataframe.api.Select.SelectSelectingOptions].
139
+
*
140
+
* For more information: [See `remove` on the documentation website.](https://kotlin.github.io/dataframe/remove.html)
141
+
* ### This Remove Overload
142
+
* Select columns using [KProperties][KProperty] ([KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]).
143
+
*
144
+
* #### For example:
145
+
* ```kotlin
146
+
* data class Person(val length: Double, val age: Double)
0 commit comments