Dataset v0.2.0 Dataset View Source

Link to this section Summary

Functions

iex> Dataset.new([{:a,:b,:c},
...>              {:A, :B, :C},
...>              {:i, :ii, :iii},
...>              {:I, :II, :III}])
...> |> Dataset.rotate()
%Dataset{
  labels: {},
  rows: [{:a, :A, :i, :I},
         {:b, :B, :ii, :II},
         {:c, :C, :iii, :III}]
}

Link to this section Functions

Link to this function

new(rows \\ [], labels \\ {}) View Source

iex> Dataset.new([{:a,:b,:c},
...>              {:A, :B, :C},
...>              {:i, :ii, :iii},
...>              {:I, :II, :III}])
...> |> Dataset.rotate()
%Dataset{
  labels: {},
  rows: [{:a, :A, :i, :I},
         {:b, :B, :ii, :II},
         {:c, :C, :iii, :III}]
}