Object/Trait

framian

Frame

Related Docs: trait Frame | package framian

Permalink

object Frame

Source
Frame.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Frame
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait KeySeriesPair[L <: HList, Row, Col] extends AnyRef

    Permalink

    Implicit to help with inference of Row/Col in mergeColumn/mergeRows.

    Implicit to help with inference of Row/Col in mergeColumn/mergeRows. Please ignore...

  2. type SeriesJoinFolder[L <: HList, Row, Col] = LeftFolder[L, Frame[Row, Col], joinSeries.type] { type Out = framian.Frame[Row,Col] }

    Permalink

    A left fold on an HList that creates a Frame from a set of Series.

  3. type SeriesMergeFolder[L <: HList, Row, Col] = LeftFolder[L, Frame[Row, Col], mergeSeries.type] { type Out = framian.Frame[Row,Col] }

    Permalink

    A left fold on an HList that creates a Frame from a set of Series.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object KeySeriesPair

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def empty[Row, Col](implicit arg0: ClassTag[Row], arg1: Order[Row], arg2: ClassTag[Col], arg3: Order[Col]): Frame[Row, Col]

    Permalink

    Create an empty Frame with no values.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def fill[A, B, C](rows: Iterable[A], cols: Iterable[B])(f: (A, B) ⇒ Cell[C])(implicit arg0: Order[A], arg1: ClassTag[A], arg2: Order[B], arg3: ClassTag[B], arg4: ClassTag[C]): Frame[A, B]

    Permalink

    Populates a homogeneous Frame given the rows/columns of the table.

    Populates a homogeneous Frame given the rows/columns of the table. The value of each cell is calculated using f, applied to its row and column index.

    For instance, we can make a multiplication table,

    Frame.fill(1 to 9, 1 to 9) { (row, col) => Value(row * col) }
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromColumns[A, Row](cols: A*)(implicit arg0: ClassTag[Row], pop: RowPopulator[A, Int, Row]): Frame[Row, Int]

    Permalink

    Construct a Frame whose columns are populated from some type A.

    Construct a Frame whose columns are populated from some type A. Column populators may exist for things like JSON objects or Shapeless Generic types. For example,

    scala&gt; case class Person(name: String, age: Int)
    scala&gt; val Alice = Person("Alice", 42)
    scala&gt; val Bob = Person("Alice", 23)
    scala&gt; Frame.fromRows(Alice, Bob)
    res0: Frame[Int, Int] =
        0     . 1
    0 : Alice | Bob
    1 : 42    | 23
  13. def fromRows[A, Col](rows: A*)(implicit arg0: ClassTag[Col], pop: RowPopulator[A, Int, Col]): Frame[Int, Col]

    Permalink

    Construct a Frame whose rows are populated from some type A.

    Construct a Frame whose rows are populated from some type A. Row populators may exist for things like JSON objects or Shapeless Generic types. For example,

    scala&gt; case class Person(name: String, age: Int)
    scala&gt; val Alice = Person("Alice", 42)
    scala&gt; val Bob = Person("Alice", 23)
    scala&gt; Frame.fromRows(Alice, Bob)
    res0: Frame[Int, Int] =
        0     . 1
    0 : Alice | 42
    1 : Bob   | 23

    TODO: This should really take the row too (eg. rows: (Row, A)*).

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. object joinSeries extends Poly2

    Permalink

    A polymorphic function for joining many Series into a Frame.

  18. def mergeColumn[Row, Col](cols: (Col, Series[Row, _])*): Frame[Row, Col]

    Permalink

    [use case]

    [use case]
    Full Signature

    def mergeColumns[S, L <: HList, Col, Row](cols: S)(implicit gen: Aux[S, L], ev: KeySeriesPair[L, Row, Col], folder: SeriesMergeFolder[L, Row, Col], ctCol: ClassTag[Col], orderCol: Order[Col], ctRow: ClassTag[Row], orderRow: Order[Row]): Frame[Row, Col]

  19. def mergeRows[Row, Col](rows: (Row, Series[Col, _])*): Frame[Row, Col]

    Permalink

    [use case]

    [use case]
    Full Signature

    def mergeRows[S, L <: HList, Col, Row](rows: S)(implicit gen: Aux[S, L], ev: KeySeriesPair[L, Col, Row], folder: SeriesMergeFolder[L, Col, Row], ctCol: ClassTag[Col], orderCol: Order[Col], ctRow: ClassTag[Row], orderRow: Order[Row]): Frame[Row, Col]

  20. object mergeSeries extends Poly2

    Permalink

    A polymorphic function for merging many Series into a Frame.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped