diff --git a/python/damask/_table.py b/python/damask/_table.py index 3215cd8db..9789c8be6 100644 --- a/python/damask/_table.py +++ b/python/damask/_table.py @@ -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._label_uniform() + def __repr__(self): + """Brief overview.""" + return util.srepr(self.comments)+'\n'+self.data.__repr__() def __copy__(self): """Copy Table."""