Class

smile.data

DataFrameOps

Related Doc: package data

Permalink

case class DataFrameOps(data: DataFrame) extends Product with Serializable

Pimped data frame with Scala style methods.

data

a data frame.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataFrameOps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DataFrameOps(data: DataFrame)

    Permalink

    data

    a data frame.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to any2stringadd[DataFrameOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DataFrameOps, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to ArrowAssoc[DataFrameOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val data: DataFrame

    Permalink

    a data frame.

  9. def drop(range: Range): DataFrame

    Permalink

    Returns a new DataFrame without given column indices.

  10. def ensuring(cond: (DataFrameOps) ⇒ Boolean, msg: ⇒ Any): DataFrameOps

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to Ensuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (DataFrameOps) ⇒ Boolean): DataFrameOps

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to Ensuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): DataFrameOps

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to Ensuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): DataFrameOps

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to Ensuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def exists(p: (Tuple) ⇒ Boolean): Boolean

    Permalink

    Tests if a predicate holds for at least one row of data frame.

  16. def filter(p: (Tuple) ⇒ Boolean): DataFrame

    Permalink

    Selects all rows which satisfy a predicate.

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def find(p: (Tuple) ⇒ Boolean): Optional[Tuple]

    Permalink

    Finds the first row satisfying a predicate.

  19. def forall(p: (Tuple) ⇒ Boolean): Boolean

    Permalink

    Tests if a predicate holds for all rows of data frame.

  20. def foreach[U](p: (Tuple) ⇒ U): Unit

    Permalink

    Applies a function for its side-effect to every row.

  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to StringFormat[DataFrameOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def groupBy[K](f: (Tuple) ⇒ K): Map[K, DataFrame]

    Permalink

    Partitions the DataFrame into a map of DataFrames according to some discriminator function.

    Partitions the DataFrame into a map of DataFrames according to some discriminator function.

    K

    the type of keys returned by the discriminator function.

    f

    the discriminator function.

    returns

    A map from keys to DataFrames

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def map[U](p: (Tuple) ⇒ U): Iterable[U]

    Permalink

    Builds a new data collection by applying a function to all rows.

  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def of(range: Range): DataFrame

    Permalink

    Returns a new data frame with row indexing.

  30. def partition(p: (Tuple) ⇒ Boolean): (DataFrame, DataFrame)

    Permalink

    Partitions this DataFrame in two according to a predicate.

    Partitions this DataFrame in two according to a predicate.

    p

    the predicate on which to partition.

    returns

    a pair of DataFrames: the first DataFrame consists of all elements that satisfy the predicate p and the second DataFrame consists of all elements that don't. The relative order of the elements in the resulting DataFramess is the same as in the original DataFrame.

  31. def select(range: Range): DataFrame

    Permalink

    Selects a new DataFrame with given column indices.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toJSON: JsArray

    Permalink

    Converts the tuple to a JSON array.

  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (DataFrameOps, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DataFrameOps to ArrowAssoc[DataFrameOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DataFrameOps to any2stringadd[DataFrameOps]

Inherited by implicit conversion StringFormat from DataFrameOps to StringFormat[DataFrameOps]

Inherited by implicit conversion Ensuring from DataFrameOps to Ensuring[DataFrameOps]

Inherited by implicit conversion ArrowAssoc from DataFrameOps to ArrowAssoc[DataFrameOps]

Ungrouped