Skip to content

Commit 07a71d1

Browse files
same for vararg string overload
1 parent de0ff10 commit 07a71d1

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public fun <T> DataFrame<T>.moveToStart(vararg columns: String): DataFrame<T> =
341341
* @param [insideGroup] If true, selected columns will be moved to the start remaining inside their group,
342342
* else they will be moved to the start of the top level.
343343
*/
344-
public fun <T> DataFrame<T>.moveToStart(vararg columns: String, insideGroup: Boolean): DataFrame<T> =
344+
public fun <T> DataFrame<T>.moveToStart(insideGroup: Boolean, vararg columns: String): DataFrame<T> =
345345
moveToStart(insideGroup) { columns.toColumnSet() }
346346

347347
@Deprecated(MOVE_TO_LEFT, ReplaceWith(MOVE_TO_LEFT_REPLACE), DeprecationLevel.ERROR)
@@ -438,7 +438,7 @@ public fun <T> DataFrame<T>.moveToEnd(vararg columns: String): DataFrame<T> = mo
438438
* @param [insideGroup] If true, selected columns will be moved to the end remaining inside their group,
439439
* else they will be moved to the end of the top level.
440440
*/
441-
public fun <T> DataFrame<T>.moveToEnd(vararg columns: String, insideGroup: Boolean): DataFrame<T> =
441+
public fun <T> DataFrame<T>.moveToEnd(insideGroup: Boolean, vararg columns: String): DataFrame<T> =
442442
moveToEnd(insideGroup) { columns.toColumnSet() }
443443

444444
@Deprecated(MOVE_TO_RIGHT, ReplaceWith(MOVE_TO_RIGHT_REPLACE), DeprecationLevel.ERROR)

0 commit comments

Comments
 (0)