Results#

class Results(module, *args, strict=True, **kwargs)[source]#

Bases: ndict

Container for storing results

Attributes

all_results

Iterator over all results, skipping any nested values

equal_len

Check if all results are equal length

Methods

append(arg, key=None)[source]#

This is activated by adding as well, e.g. results += result

property all_results#

Iterator over all results, skipping any nested values

property equal_len#

Check if all results are equal length

flatten(sep='_', only_results=True)[source]#

Turn from a nested dictionary into a flat dictionary, keeping only results by default

to_df(sep='_', descend=False)[source]#

Merge all results dataframes into one

plot(style='fancy', fig_kw=None, plot_kw=None)[source]#

Plot all the results