@@ -526,8 +526,8 @@ public fun <T, C> Convert<T, C>.to(columnConverter: DataFrame<T>.(DataColumn<C>)
526
526
df.replace(columns).with { columnConverter(df, it) }
527
527
528
528
/* *
529
- * Converts values in the columns previously selected with [convert]
530
- * using [row value][RowValueExpression] [expression] within the [DataFrame].
529
+ * Converts values in columns previously selected by [convert] using the specified [rowConverter],
530
+ * a [row value expression ][RowValueExpression] applied to each row in the [DataFrame].
531
531
*
532
532
* A [row value expression][RowValueExpression] allows to provide a new value for every selected cell
533
533
* given its row (as a receiver) and its previous value (as a lambda argument).
@@ -555,15 +555,15 @@ public fun <T, C> Convert<T, C>.to(columnConverter: DataFrame<T>.(DataColumn<C>)
555
555
*
556
556
* @param infer [Infer] strategy that defines how the [type][DataColumn.type] of the resulting column should be determined.
557
557
* Defaults to [Infer.Nulls].
558
- * @param [expression ] The [RowValueExpression] to provide a new value for every selected cell giving its row and previous value.
558
+ * @param [rowConverter ] The [RowValueExpression] to provide a new value for every selected cell giving its row and previous value.
559
559
* @return A new [DataFrame] with the converted values.
560
560
*/
561
561
@Refine
562
562
@Interpretable(" With0" )
563
563
public inline fun <T , C , reified R > Convert <T , C >.with (
564
564
infer : Infer = Infer .Nulls ,
565
- noinline expression : RowValueExpression <T , C , R >,
566
- ): DataFrame <T > = withRowCellImpl(typeOf<R >(), infer, expression )
565
+ noinline rowConverter : RowValueExpression <T , C , R >,
566
+ ): DataFrame <T > = withRowCellImpl(typeOf<R >(), infer, rowConverter )
567
567
568
568
/* *
569
569
* Converts [column groups][ColumnGroup] previously selected with [convert]
0 commit comments