Skip to content

Commit 7704027

Browse files
convert kdocs replace with fix
1 parent 6b9ba8b commit 7704027

File tree

1 file changed

+4
-3
lines changed
  • core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public fun <T> Convert<T, *>.to(type: KType): DataFrame<T> = asColumn { it.conve
376376
@ExcludeFromSources
377377
private interface SeeAlsoConvertPerRowCol
378378

379-
/** [Convert with][Convert.asColumn] to convert using a column converter */
379+
/** [Convert as column][Convert.asColumn] to convert using a column converter */
380380
@ExcludeFromSources
381381
private interface SeeAlsoConvertAsColumn
382382

@@ -439,7 +439,7 @@ public fun <T, C, R> Convert<T, DataRow<C>>.asFrame(
439439
*
440440
* The [columnConverter] is a lambda with the current [DataFrame] as receiver and the selected column as argument.
441441
* It returns a new column that will replace the original column.
442-
* Preserves original column name for each column (even it was explicitly changed in [columnConverter] expression).
442+
* **Preserves original column name for each column (even it was explicitly changed in [columnConverter] expression).**
443443
*
444444
* For more information: {@include [DocumentationUrls.Convert]}
445445
*
@@ -451,7 +451,8 @@ public fun <T, C, R> Convert<T, DataRow<C>>.asFrame(
451451
*
452452
* ## See Also
453453
* - {@include [SeeAlsoConvertWith]}
454-
* - [Replace with][ReplaceClause.with] to replace columns
454+
* - [Replace with][ReplaceClause.with] to replace columns using a column converter,
455+
* allowing both column names and types to be changed.
455456
*
456457
* ### Examples:
457458
* ```kotlin

0 commit comments

Comments
 (0)