Skip to content

Commit ef50adf

Browse files
Automated commit of generated code
1 parent 6289f5b commit ef50adf

File tree

21 files changed

+1960
-243
lines changed

21 files changed

+1960
-243
lines changed

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/ColumnsSelectionDsl.kt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public annotation class ColumnsSelectionDslMarker
3636
* 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]).
3737
* This is an entity formed by calling any (combination) of the functions
3838
* in the DSL that is or can be resolved into one or more columns.
39+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
40+
* for type- and name-safe columns selection.
3941
*
4042
* #### NOTE:
4143
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -51,11 +53,12 @@ public annotation class ColumnsSelectionDslMarker
5153
*
5254
* #### For example:
5355
*
54-
* `df.`[select][DataFrame.select]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
56+
* <code>`df`</code>`.`[select][DataFrame.select]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
5557
*
56-
* `df.`[select][DataFrame.select]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
58+
* <code>`df`</code>`.`[select][DataFrame.select]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
59+
*
60+
* <code>`df`</code>`.`[select][DataFrame.select]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
5761
*
58-
* `df.`[select][DataFrame.select]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
5962
*
6063
*
6164
*

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/Nulls.kt

Lines changed: 54 additions & 27 deletions
Large diffs are not rendered by default.

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/convert.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ internal interface ConvertDocs {
124124
* 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]).
125125
* This is an entity formed by calling any (combination) of the functions
126126
* in the DSL that is or can be resolved into one or more columns.
127+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
128+
* for type- and name-safe columns selection.
127129
*
128130
* #### NOTE:
129131
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -139,11 +141,12 @@ internal interface ConvertDocs {
139141
*
140142
* #### For example:
141143
*
142-
* `df.`[convert][org.jetbrains.kotlinx.dataframe.api.convert]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
144+
* <code>`df`</code>`.`[convert][org.jetbrains.kotlinx.dataframe.api.convert]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
143145
*
144-
* `df.`[convert][org.jetbrains.kotlinx.dataframe.api.convert]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
146+
* <code>`df`</code>`.`[convert][org.jetbrains.kotlinx.dataframe.api.convert]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
147+
*
148+
* <code>`df`</code>`.`[convert][org.jetbrains.kotlinx.dataframe.api.convert]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
145149
*
146-
* `df.`[convert][org.jetbrains.kotlinx.dataframe.api.convert]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
147150
*
148151
*
149152
* #### NOTE: There's also a 'single column' variant used sometimes: [Column Selection DSL][org.jetbrains.kotlinx.dataframe.documentation.SelectingColumns.DslSingle.WithExample].
@@ -319,6 +322,8 @@ internal interface ConvertDocs {
319322
* 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]).
320323
* This is an entity formed by calling any (combination) of the functions
321324
* in the DSL that is or can be resolved into one or more columns.
325+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
326+
* for type- and name-safe columns selection.
322327
*
323328
* #### NOTE:
324329
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/corr.kt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ internal interface CorrDocs {
6464
* 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]).
6565
* This is an entity formed by calling any (combination) of the functions
6666
* in the DSL that is or can be resolved into one or more columns.
67+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
68+
* for type- and name-safe columns selection.
6769
*
6870
* #### NOTE:
6971
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -79,11 +81,12 @@ internal interface CorrDocs {
7981
*
8082
* #### For example:
8183
*
82-
* `df.`[corr][org.jetbrains.kotlinx.dataframe.api.corr]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
84+
* <code>`df`</code>`.`[corr][org.jetbrains.kotlinx.dataframe.api.corr]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
8385
*
84-
* `df.`[corr][org.jetbrains.kotlinx.dataframe.api.corr]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
86+
* <code>`df`</code>`.`[corr][org.jetbrains.kotlinx.dataframe.api.corr]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
87+
*
88+
* <code>`df`</code>`.`[corr][org.jetbrains.kotlinx.dataframe.api.corr]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
8589
*
86-
* `df.`[corr][org.jetbrains.kotlinx.dataframe.api.corr]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
8790
*
8891
*
8992
* #### NOTE: There's also a 'single column' variant used sometimes: [Column Selection DSL][org.jetbrains.kotlinx.dataframe.documentation.SelectingColumns.DslSingle.WithExample].
@@ -227,6 +230,8 @@ public fun <T> DataFrame<T>.corr(): DataFrame<T> =
227230
* 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]).
228231
* This is an entity formed by calling any (combination) of the functions
229232
* in the DSL that is or can be resolved into one or more columns.
233+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
234+
* for type- and name-safe columns selection.
230235
*
231236
* #### NOTE:
232237
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -364,6 +369,8 @@ internal interface CorrWithDocs
364369
* 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]).
365370
* This is an entity formed by calling any (combination) of the functions
366371
* in the DSL that is or can be resolved into one or more columns.
372+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
373+
* for type- and name-safe columns selection.
367374
*
368375
* #### NOTE:
369376
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/countDistinct.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public fun AnyFrame.countDistinct(): Int = countDistinct { all() }
4949
* 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]).
5050
* This is an entity formed by calling any (combination) of the functions
5151
* in the DSL that is or can be resolved into one or more columns.
52+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
53+
* for type- and name-safe columns selection.
5254
*
5355
* #### NOTE:
5456
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/describe.kt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ public fun <T> DataFrame<T>.describe(): DataFrame<ColumnDescription> =
158158
* 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]).
159159
* This is an entity formed by calling any (combination) of the functions
160160
* in the DSL that is or can be resolved into one or more columns.
161+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
162+
* for type- and name-safe columns selection.
161163
*
162164
* #### NOTE:
163165
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -173,11 +175,12 @@ public fun <T> DataFrame<T>.describe(): DataFrame<ColumnDescription> =
173175
*
174176
* #### For example:
175177
*
176-
* `df.`[describe][org.jetbrains.kotlinx.dataframe.api.describe]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
178+
* <code>`df`</code>`.`[describe][org.jetbrains.kotlinx.dataframe.api.describe]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
177179
*
178-
* `df.`[describe][org.jetbrains.kotlinx.dataframe.api.describe]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
180+
* <code>`df`</code>`.`[describe][org.jetbrains.kotlinx.dataframe.api.describe]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
181+
*
182+
* <code>`df`</code>`.`[describe][org.jetbrains.kotlinx.dataframe.api.describe]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
179183
*
180-
* `df.`[describe][org.jetbrains.kotlinx.dataframe.api.describe]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
181184
*
182185
*
183186
* @param [columns] The [Columns Selector][ColumnsSelector] that specifies which

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/explode.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ private val defaultExplodeColumns: ColumnsSelector<*, *> = {
5151
* 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]).
5252
* This is an entity formed by calling any (combination) of the functions
5353
* in the DSL that is or can be resolved into one or more columns.
54+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
55+
* for type- and name-safe columns selection.
5456
*
5557
* #### NOTE:
5658
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -177,6 +179,8 @@ public fun <T, C> DataFrame<T>.explode(vararg columns: KProperty<C>, dropEmpty:
177179
* 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]).
178180
* This is an entity formed by calling any (combination) of the functions
179181
* in the DSL that is or can be resolved into one or more columns.
182+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
183+
* for type- and name-safe columns selection.
180184
*
181185
* #### NOTE:
182186
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/format.kt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ internal interface FormatDocs {
9797
* 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]).
9898
* This is an entity formed by calling any (combination) of the functions
9999
* in the DSL that is or can be resolved into one or more columns.
100+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
101+
* for type- and name-safe columns selection.
100102
*
101103
* #### NOTE:
102104
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -112,11 +114,12 @@ internal interface FormatDocs {
112114
*
113115
* #### For example:
114116
*
115-
* `df.`[format][org.jetbrains.kotlinx.dataframe.api.format]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
117+
* <code>`df`</code>`.`[format][org.jetbrains.kotlinx.dataframe.api.format]` { length `[and][org.jetbrains.kotlinx.dataframe.api.AndColumnsSelectionDsl.and]` age }`
116118
*
117-
* `df.`[format][org.jetbrains.kotlinx.dataframe.api.format]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
119+
* <code>`df`</code>`.`[format][org.jetbrains.kotlinx.dataframe.api.format]` { `[cols][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.cols]`(1..5) }`
120+
*
121+
* <code>`df`</code>`.`[format][org.jetbrains.kotlinx.dataframe.api.format]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
118122
*
119-
* `df.`[format][org.jetbrains.kotlinx.dataframe.api.format]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.colsOf]`<`[Double][Double]`>() }`
120123
*
121124
*
122125
* #### NOTE: There's also a 'single column' variant used sometimes: [Column Selection DSL][org.jetbrains.kotlinx.dataframe.documentation.SelectingColumns.DslSingle.WithExample].
@@ -344,6 +347,8 @@ internal interface FormatDocs {
344347
* 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]).
345348
* This is an entity formed by calling any (combination) of the functions
346349
* in the DSL that is or can be resolved into one or more columns.
350+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
351+
* for type- and name-safe columns selection.
347352
*
348353
* #### NOTE:
349354
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]
@@ -539,6 +544,8 @@ public fun <T, C> DataFrame<T>.format(vararg columns: KProperty<C>): FormatClaus
539544
* 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]).
540545
* This is an entity formed by calling any (combination) of the functions
541546
* in the DSL that is or can be resolved into one or more columns.
547+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
548+
* for type- and name-safe columns selection.
542549
*
543550
* #### NOTE:
544551
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/gather.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ internal interface GatherDocs {
137137
* 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]).
138138
* This is an entity formed by calling any (combination) of the functions
139139
* in the DSL that is or can be resolved into one or more columns.
140+
* This also allows you to use [Extension Properties API][org.jetbrains.kotlinx.dataframe.documentation.ExtensionPropertiesAPIDocs]
141+
* for type- and name-safe columns selection.
140142
*
141143
* #### NOTE:
142144
* While you can use the [String API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.StringApi] and [KProperties API][org.jetbrains.kotlinx.dataframe.documentation.AccessApi.KPropertiesApi]

0 commit comments

Comments
 (0)