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