Skip to content

Commit a59982d

Browse files
insert docs fixes
1 parent 7a682aa commit a59982d

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/insert.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,21 @@ internal interface InsertDocs {
6666
* {@include [DslGrammarLink]}
6767
* {@include [LineBreak]}
6868
*
69-
* **[`insert`][insert]**`(column: `[`DataColumn`][DataColumn]`)`
69+
* [**`insert`**][insert]**`(`**`column: `[`DataColumn`][DataColumn]**`)`**` /`
7070
*
71-
* {@include [Indent]}
72-
* `| `[`insert`][insert]`(name: `[`String`][String]`, infer: `[`Infer`][Infer]`, rowExpression: `[`RowExpression`][RowExpression]` }`
71+
* [**`insert`**][insert]**`(`**`name: `[`String`][String]**`, `**`infer: `[`Infer`][Infer]**`) { `**`rowExpression: `[`RowExpression`][RowExpression]**` }`**
7372
*
7473
* {@include [Indent]}
75-
* __`.`__[**`under`**][InsertClause.under]` { `**`column: `[`ColumnSelector`][ColumnSelector]**` }`
74+
* __`.`__[**`under`**][InsertClause.under]**` { `**`column: `[`ColumnSelector`][ColumnSelector]**` }`**
7675
*
7776
* {@include [Indent]}
78-
* `| `__`.`__[**`under`**][InsertClause.under]`(columnPath: `[`ColumnPath`][ColumnPath]`)`
77+
* `| `__`.`__[**`under`**][InsertClause.under]**`(`**` columnPath: `[`ColumnPath`][ColumnPath]**`)`**
7978
*
8079
* {@include [Indent]}
81-
* `| `__`.`__[**`after`**][InsertClause.after]` { `**`column: `[`ColumnSelector`][ColumnSelector]**` }`
80+
* `| `__`.`__[**`after`**][InsertClause.after]**` { `**`column: `[`ColumnSelector`][ColumnSelector]**` }`**
8281
*
8382
* {@include [Indent]}
84-
* `| `__`.`__[**`at`**][InsertClause.at]`(position: `[`Int`][Int]`)`
83+
* `| `__`.`__[**`at`**][InsertClause.at]**`(`**`position: `[`Int`][Int]**`)`**
8584
*/
8685
interface Grammar
8786
}
@@ -190,6 +189,7 @@ public class InsertClause<T>(internal val df: DataFrame<T>, internal val column:
190189
* Works only with existing column groups.
191190
* To insert into a new column group, use the overloads:
192191
* `under(path: ColumnPath)` or `under(column: String)`.
192+
* [Should be fixed](https://github.com/Kotlin/dataframe/issues/1411).
193193
*
194194
* For more information: {@include [DocumentationUrls.Insert]}
195195
*

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/util/deprecationMessages.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ internal const val COL_TYPE_INSTANT =
138138
internal const val COL_TYPE_INSTANT_REPLACE = "ColType.DeprecatedInstant"
139139

140140
internal const val INSERT_AFTER_COL_PATH =
141-
"This `after()` overload will be removed in favor of `after { }` with Column Selection" +
142-
"DSL. $MESSAGE_1_0"
141+
"This `after()` overload will be removed in favor of `after { }` with Column Selection DSL. $MESSAGE_1_0"
143142
internal const val INSERT_AFTER_COL_PATH_REPLACE = "this.after { columnPath }"
144143

145144
// endregion

0 commit comments

Comments
 (0)