probmods / webppl-viz

Visualization for WebPPL
http://probmods.github.io/webppl-viz/
Other
14 stars 9 forks source link

Allow transposed dataframes as arguments #40

Open longouyang opened 8 years ago

longouyang commented 8 years ago

The transpose of this:

[
  {a: 1, b: 2},
  {a: 3, b: 4},
  ...
]

is this:

{a: [1,3, ...],
 b: [2,4, ...]}
longouyang commented 7 years ago

At a minimum, I probably want to use transposed dataframes internally for efficiency.