krangl / krangl / setNames

setNames

fun DataFrame.setNames(vararg newNames: String): DataFrame

Replace current column names with new ones. The number of provided names must match the number of columns.