run

run(samples)

Applies solver_func to each row of samples.

A row whose call raises gets NaN as its outcome (and a warning is logged), so only that point counts as a failed run; the rest of the batch is kept.

Parameters

Name Type Description Default
samples pd.DataFrame Input samples, one row per simulation. required

Returns

Name Type Description
pd.DataFrame pd.DataFrame: A copy of samples with the outcome column added.