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({'columns': <function TableData.columns>, '__weakref__': <attribute '__weakref__' of 'TableData' objects>, '__str__': <function TableData.__str__>, 'max': <function TableData.max>, '__module__': 'PyFoam.Basics.TableData', 'getIndex': <function TableData.getIndex>, 'rows': <function TableData.rows>, '__doc__': 'A simple table. Current limitiation is that column and row\n labels have to be known at creation time', '__init__': <function TableData.__init__>, '__setitem__': <function TableData.__setitem__>, 'apply': <function TableData.apply>, '__dict__': <attribute '__dict__' of 'TableData' objects>, 'min': <function TableData.min>, '__getitem__': <function TableData.__getitem__>})¶
-
__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)
-