ncsu-landscape-dynamics / popsborder

PoPS Border: Simulation of contaminated consignments and their inspections
https://mybinder.org/v2/gh/ncsu-landscape-dynamics/popsborder/main?labpath=examples%2Fnotebooks%2Fbasic_with_command_line.ipynb
GNU General Public License v2.0
2 stars 4 forks source link

Convert one simulation run result to pandas #160

Closed wenzeslaus closed 2 years ago

wenzeslaus commented 2 years ago

Add a function to convert result of run_simulation(...) to pandas DataFrame with one row.

wenzeslaus commented 2 years ago

The following now works in #169:

df = save_simulation_result_to_pandas(result)

Default columns are all attributes of the result object.