case class DataFrameOps(data: DataFrame) extends Product with Serializable
Pimped data frame with Scala style operations.
- data
underlying data frame.
- Alphabetic
- By Inheritance
- DataFrameOps
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DataFrameOps(data: DataFrame)
- data
underlying data frame.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from DataFrameOps toany2stringadd[DataFrameOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (DataFrameOps, B)
- Implicit
- This member is added by an implicit conversion from DataFrameOps toArrowAssoc[DataFrameOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val data: DataFrame
- def drop(range: Range): DataFrame
Returns a new DataFrame without given column indices.
- def ensuring(cond: (DataFrameOps) => Boolean, msg: => Any): DataFrameOps
- Implicit
- This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (DataFrameOps) => Boolean): DataFrameOps
- Implicit
- This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): DataFrameOps
- Implicit
- This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): DataFrameOps
- Implicit
- This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exists(p: (Tuple) => Boolean): Boolean
Tests if a predicate holds for at least one row of data frame.
- def filter(p: (Tuple) => Boolean): DataFrame
Selects all rows which satisfy a predicate.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: (Tuple) => Boolean): Optional[Tuple]
Finds the first row satisfying a predicate.
- def forall(p: (Tuple) => Boolean): Boolean
Tests if a predicate holds for all rows of data frame.
- def foreach[U](p: (Tuple) => U): Unit
Applies a function for its side-effect to every row.
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DataFrameOps toStringFormat[DataFrameOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def groupBy[K](f: (Tuple) => K): Map[K, DataFrame]
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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[U](p: (Tuple) => U): Iterable[U]
Builds a new data collection by applying a function to all rows.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def of(range: Range): DataFrame
Returns a new data frame with row indexing.
- def partition(p: (Tuple) => Boolean): (DataFrame, DataFrame)
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.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def select(range: Range): DataFrame
Selects a new DataFrame with given column indices.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (DataFrameOps, B)
- Implicit
- This member is added by an implicit conversion from DataFrameOps toArrowAssoc[DataFrameOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
High level Smile operators in Scala.