@@ -526,8 +526,8 @@ public fun <T, C> Convert<T, C>.to(columnConverter: DataFrame<T>.(DataColumn<C>)
526526 df.replace(columns).with { columnConverter(df, it) }
527527
528528/* *
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].
531531 *
532532 * A [row value expression][RowValueExpression] allows to provide a new value for every selected cell
533533 * 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>)
555555 *
556556 * @param infer [Infer] strategy that defines how the [type][DataColumn.type] of the resulting column should be determined.
557557 * 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.
559559 * @return A new [DataFrame] with the converted values.
560560 */
561561@Refine
562562@Interpretable(" With0" )
563563public inline fun <T , C , reified R > Convert <T , C >.with (
564564 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 )
567567
568568/* *
569569 * Converts [column groups][ColumnGroup] previously selected with [convert]
0 commit comments