Skip to content

Commit 4158c17

Browse files
rename to camelCase kdocs
1 parent d44c974 commit 4158c17

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,10 @@ public fun <T, C> RenameClause<T, C>.into(transform: (ColumnWithPath<C>) -> Stri
294294
*
295295
* ### Examples
296296
* ```kotlin
297+
* // Renames "arrival_date" and "passport-ID" columns to "camelCase"
297298
* df.rename("arrival_date", "passport-ID").toCamelCase()
299+
* // Renames all numeric columns to "camelCase"
300+
* df.rename { colsOf<Number>() }.toCamelCase()
298301
* ```
299302
*
300303
* #### Renaming Examples

0 commit comments

Comments
 (0)