Implicit to help with inference of Row/Col in mergeColumn/mergeRows.
Implicit to help with inference of Row/Col in mergeColumn/mergeRows. Please ignore...
A left fold on an HList that creates a Frame from a set of Series.
A left fold on an HList that creates a Frame from a set of Series.
Create an empty Frame
with no values.
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) }
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> case class Person(name: String, age: Int) scala> val Alice = Person("Alice", 42) scala> val Bob = Person("Alice", 23) scala> Frame.fromRows(Alice, Bob) res0: Frame[Int, Int] = 0 . 1 0 : Alice | Bob 1 : 42 | 23
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> case class Person(name: String, age: Int) scala> val Alice = Person("Alice", 42) scala> val Bob = Person("Alice", 23) scala> 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)*
).
A polymorphic function for joining many Series into a Frame
.
[use case]
[use case]
A polymorphic function for merging many Series into a Frame
.