krangl / krangl / expand

expand

fun DataFrame.expand(vararg columnNames: String): DataFrame

expand() is often useful in conjunction with left_join if you want to convert implicit missing values to explicit missing values. Or you can use it in conjunction with anti_join() to figure out which combinations are missing.