PyFoam.Basics.TableData module¶
A simple object for table data where data is accessed with a tuple (rowLabel,colLabel)
-
class
PyFoam.Basics.TableData.
TableData
(rowLabels, columnLabels)[source]¶ Bases:
object
A simple table. Current limitiation is that column and row labels have to be known at creation time
-
__dict__
= mappingproxy({'__weakref__': <attribute '__weakref__' of 'TableData' objects>, '__setitem__': <function TableData.__setitem__>, 'min': <function TableData.min>, '__doc__': 'A simple table. Current limitiation is that column and row\n labels have to be known at creation time', '__str__': <function TableData.__str__>, 'columns': <function TableData.columns>, 'rows': <function TableData.rows>, 'apply': <function TableData.apply>, '__init__': <function TableData.__init__>, 'getIndex': <function TableData.getIndex>, '__getitem__': <function TableData.__getitem__>, '__module__': 'PyFoam.Basics.TableData', '__dict__': <attribute '__dict__' of 'TableData' objects>, 'max': <function TableData.max>})¶
-
__init__
(rowLabels, columnLabels)[source]¶ Parameters: - rowLables – the names of the rows
- columnLabels – the names of the columns
-
__module__
= 'PyFoam.Basics.TableData'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-