diff options
Diffstat (limited to 'qolab/tableflow/__init__.py')
-rw-r--r-- | qolab/tableflow/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qolab/tableflow/__init__.py b/qolab/tableflow/__init__.py index 4c81a34..d185d6f 100644 --- a/qolab/tableflow/__init__.py +++ b/qolab/tableflow/__init__.py @@ -97,19 +97,19 @@ def isRedoNeeded(row, cols2check): def reflowTable(tIn, tOut, process_row_func=None, postProcessedColums=None, extraInfo=None, redo=False): """Reflow/update table tOut in place based on the inputs specified in table tIn. - Effectively maps unprocessed rows to 'process_row_func'. + Effectively maps unprocessed rows to ``process_row_func``. Parameters ========== postProcessedColums : list of strings List of column names which need to be generated extraInfo : dictionary (optional) - Dictionary of additional parameter supplied to `process_row_func` + Dictionary of additional parameter supplied to ``process_row_func`` process_row_func : function - Function which will take a row from the input table and generate + Function which will take a row from the input table and generate row with post processed entries (columns). Expected to have signature like: - rowOut = process_row_func(rowIn, extraInfo=userInfo) + ``rowOut = process_row_func(rowIn, extraInfo=userInfo)`` redo : True or False (default) Flag indicating if reflow is needed unconditionally (i.e. True forces reflow of all entries). |