Skip to content

Commit 4b1e0a3

Browse files
authored
Merge pull request #1499 from Kotlin/move-compiler-plugin-annotations
added annotations for moveTo() to add compiler plugin support
2 parents a3f8b9b + c7db2b5 commit 4b1e0a3

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ private interface CommonMoveToDocs
190190
* where the selected columns will be moved.
191191
* @param [columns\] The [Columns Selector][ColumnsSelector] used to select the columns of this [DataFrame] to move.
192192
*/
193+
@Refine
194+
@Interpretable("MoveTo1")
193195
public fun <T> DataFrame<T>.moveTo(newColumnIndex: Int, columns: ColumnsSelector<T, *>): DataFrame<T> =
194196
move(columns).to(newColumnIndex)
195197

0 commit comments

Comments
 (0)