DataFrameHolder

org.apache.spark.sql.DataFrameHolder
final class DataFrameHolder

Turns a local sequence into a DataFrame. Product elements (tuples / case classes) become multi-column rows; any other value becomes a single column. Column types are inferred from the first row.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def toDF(colNames: String*): DataFrame

Convert to a DataFrame; with no names the columns are _1, _2, ...

Convert to a DataFrame; with no names the columns are _1, _2, ...

Attributes