val numberColumn:DataColumn<Int> = columnOf(1, 2).rename("numbers")
val charColumn:DataColumn<String> = columnOf("a", "b").rename("chars")
val carthesianProduct:DataFrame<Any?> = numbers.toDataFrame().fullJoin(charColumn.toDataFrame())
carthesianProduct.toString()
1条答案
按热度按时间enxuqcxy1#
DataFrame.fullJoin()
计算具有不同名称的列的笛卡尔积。