Tables¶
Tables provide a simple means to visualize tabular data. VaRA-TS comes with its own table abstraction that uses python-tabulate to render tables in different formats.
How to tabulate your data with VaRA-TS¶
You can create tables for your data either by directly using the vara-table tool, or, if you are working with a paper config and want to automate table generation, you can take a look at Artefacts.
How to add a new table in VaRA-TS¶
You can create a new table type by creating a subclass of Table.
The table will then be available under the name you declare in the class-level field NAME.
Each table class must override the abstract function tabulate() that returns a string of the rendered table.
By convention, the returned string should be produced by python-tabulate’s tabulate() function using the table class’ format attribute.
The data for tables should be retrieved using our data storage abstraction.