Results#
- class pharmpy.workflows.Results(__version__='1.4.0')[source]#
Bases:
Immutable
Base class for all result classes
Methods Summary
from_dict
(d)Create results object from dictionary
get_and_reset_index
(attr, **kwargs)Wrapper to reset index of attribute or result from method.
to_csv
(path)Save results as a human readable csv file
to_dict
()Convert results object to a dictionary
to_json
([path, lzma])Serialize results object as json
Methods Documentation
- get_and_reset_index(attr, **kwargs)[source]#
Wrapper to reset index of attribute or result from method.
Used to facilitate importing multiindex dataframes into R