physics_utils.table module

class physics_utils.table.Table2D(rows=None, column_labels=None)

Bases: object

Creates a two dimensional table, with the first row having labels for all the data

latex()

Generates this table in LaTeX

Return type:

str

set_data(rows)

Sets the rows of the table, with each sublist in rows being a row

Return type:

None

set_labels(column_labels)

Sets the labels for each column in the table

Return type:

None