output_file_handler
Classes¤
OutputFileHandler ¤
Bases: object
Parameters:
Name | Type | Description | Default |
---|---|---|---|
working_dir |
str | Path
|
Directory, where the output file should be written. |
required |
output_file_name |
str
|
Name of the output file. Defaults to "run_output.xlsx". |
'run_output.xlsx'
|
Source code in common/output_file_handler.py
Attributes¤
output_content
property
writable
¤
Content of the output file.
Returns:
Type | Description |
---|---|
DataFrame
|
pd.DataFrame: Content of the output file in pd.DataFrame format. |
Functions¤
add_output ¤
Method add output to the output file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
to_append |
dict | DataFrame
|
Data to append. |
required |
Source code in common/output_file_handler.py
read_output_file ¤
Method to read the content of the output file.
Returns:
Type | Description |
---|---|
DataFrame
|
pd.DataFrame: Content of the output file. |
Source code in common/output_file_handler.py
write_output_file ¤
Method to write updated content to the output file.
Source code in common/output_file_handler.py
Last update:
October 31, 2023
Created: October 31, 2023
Created: October 31, 2023