Packages

o

ai.h2o.sparkling.backend.converters

SparkDataFrameConverter

object SparkDataFrameConverter extends Logging

Linear Supertypes
Logging, Serializable, Serializable, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkDataFrameConverter
  2. Logging
  3. Serializable
  4. Serializable
  5. Logging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def toDataFrame(hc: H2OContext, fr: H2OFrame, copyMetadata: Boolean): DataFrame

    Create a Spark DataFrame from a given REST-based H2O frame.

    Create a Spark DataFrame from a given REST-based H2O frame.

    hc

    an instance of H2O context

    fr

    an instance of H2O frame

    copyMetadata

    copy H2O metadata into Spark DataFrame

    returns

    a new DataFrame definition using given H2OFrame as data source

  2. def toH2OFrame(hc: H2OContext, dataFrame: DataFrame, frameKeyName: Option[String] = None, featureColsForConstCheck: Option[Seq[String]] = None): H2OFrame