I am progrmatically trying to form a dataframe from a string array
var columnNames = df.columns
var df2 = df.select(columnNames) // columnNames is a String[Array]
This is giving me errors though. Is there any other way ?
I am progrmatically trying to form a dataframe from a string array
var columnNames = df.columns
var df2 = df.select(columnNames) // columnNames is a String[Array]
This is giving me errors though. Is there any other way ?