Skip to content

Commit 30808ff

Browse files
Automated commit of generated code
1 parent 65d5991 commit 30808ff

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/col.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,7 @@ public interface ColColumnsSelectionDsl<out _UNUSED> {
780780
*/
781781
@Suppress("INAPPLICABLE_JVM_NAME")
782782
@JvmName("colUnTyped")
783+
@Interpretable("SingleColumnNestedColUntyped")
783784
public fun SingleColumn<DataRow<*>>.col(name: String): SingleColumn<*> = col<Any?>(name)
784785

785786
/**
@@ -832,6 +833,7 @@ public interface ColColumnsSelectionDsl<out _UNUSED> {
832833
* @param [name] The name of the column.
833834
* @param [C] The type of the column.
834835
*/
836+
@Interpretable("SingleColumnNestedCol")
835837
public fun <C> SingleColumn<DataRow<*>>.col(name: String): SingleColumn<C> =
836838
this.ensureIsColumnGroup().transformSingle {
837839
val child = it.getCol(name)?.cast<C>()

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/group.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,11 @@ public class GroupClause<T, C>(internal val df: DataFrame<T>, internal val colum
291291
* where that column should be grouped.
292292
* All selected columns will be moved under the groups defined by this expression.
293293
*/
294+
@Refine
294295
@JvmName("intoString")
295296
@OverloadResolutionByLambdaReturnType
296297
@OptIn(ExperimentalTypeInference::class)
298+
@Interpretable("IntoStringLambda")
297299
public fun <T, C> GroupClause<T, C>.into(column: ColumnsSelectionDsl<T>.(ColumnWithPath<C>) -> String): DataFrame<T> =
298300
df.move(columns).under { column(it).toColumnAccessor() }
299301

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ public fun <T, C> RenameClause<T, C>.into(vararg newNames: KProperty<*>): DataFr
396396
* and returns the new column name.
397397
* @return A new [DataFrame] with the columns renamed.
398398
*/
399+
@Refine
400+
@Interpretable("RenameIntoLambda")
399401
public fun <T, C> RenameClause<T, C>.into(transform: (ColumnWithPath<C>) -> String): DataFrame<T> =
400402
renameImpl(transform)
401403

0 commit comments

Comments
 (0)