Results#
- class Results(module, *args, strict=True, **kwargs)[source]#
Bases:
ndict
Container for storing results
Attributes
Iterator over all results, skipping any nested values
Dictionary of all results, skipping any nested values
Check if all results are equal length
Check if this is a MultiSim
Methods
- property is_msim#
Check if this is a MultiSim
- property all_results#
Iterator over all results, skipping any nested values
- property all_results_dict#
Dictionary of all results, skipping any nested values
- property equal_len#
Check if all results are equal length
- flatten(sep='_', only_results=True, keep_case=False, **kwargs)[source]#
Turn from a nested dictionary into a flat dictionary, keeping only results by default
- to_df(sep='_', descend=False, **kwargs)[source]#
Merge all results dataframes into one :type sep: :param sep: separator for the column names :type sep: str :type descend: :param descend: whether to descend into nested results :type descend: bool :type kwargs: :param kwargs: passed to the to_df method, can include instructions for summarizing results by time