visigoth.Experiment.serialize_trial_info

Experiment.serialize_trial_info(trial_info)[source]

Serialize the trial results so they can be be sent to the remote.

If the object returned by run_trial is a pandas Series, it’s not necessary to overload this function. However, it can be defined for each study to allow for more complicated data structures.