tbekolay / quantities-comparison

Comparisons of Python packages for representing physical quantities.
11 stars 4 forks source link

Tables view #5

Open toddrjen opened 10 years ago

toddrjen commented 10 years ago

How do we create tables of the results like you did in your presentation?

tbekolay commented 10 years ago

It would be great to have a more flexible way of visualizing the results (likely using some kind of custom reporting with pytest?) For the presentation, I used d3.js in a reveal.js presentation.

The javascript function that creates the HTML table is in scipy2013-quantities/lib/custom.js. These tables are dynamically added to particular divs when reveal.js is loaded (see L135-157). You can see the divs in slides.md.

toddrjen commented 10 years ago

What about pandas? You can write pandas tables to HTML or display them automatically in iPython. It also makes plotting easy (although I can't find a way to make plots as dynamic as the ones in the presentation).