Construct a new DataFrame from a list of columns and a schema.
Construct a new DataFrame from a list of columns and a schema.
the columns of the new DataFrame
the Schema of the new DataFrame, where each entry matches with the data in the 'columns' list
new DataFrame
Construct a new DataFrame from a sequence of rows.
Construct a new DataFrame from a sequence of rows.
the type of a row, if this is a Product type each element will become a separate column
the sequence of rows which will form the new DataFrame
new DataFrame
Unions all into a single DataFrame.
Unions all into a single DataFrame. All DataFrames must have the same schema.
list of DataFrame to union
new DataFrame
(Since version ) see corresponding Javadoc for more information.