lifecycles.LifeCycle.read_json¶
- LifeCycle.read_json(path: str) None¶
load the LifeCycle from a json file. If the dtype declared at instantiation differs from the one in the json file, the former will be overwritten by the latter.
- Parameters:
path – the path to the json file
- Returns:
None
- Example:
>>> lc = LifeCycle().read_json('lc.json')