user friendly self reporting

This commit is contained in:
Martin Diehl 2020-09-18 16:23:23 +02:00
parent 1849ff0330
commit c935ba1215
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ class Table:
self.shapes = { k:(v,) if isinstance(v,(np.int,int)) else v for k,v in shapes.items() } self.shapes = { k:(v,) if isinstance(v,(np.int,int)) else v for k,v in shapes.items() }
self._label_uniform() self._label_uniform()
def __repr__(self):
"""Brief overview."""
return util.srepr(self.comments)+'\n'+self.data.__repr__()
def __copy__(self): def __copy__(self):
"""Copy Table.""" """Copy Table."""