sdq.io.read_pickle#

scdiffeq.io._data._pickle_io.read_pickle(path: str | Path, mode: str | None = 'rb')[source]#

Read the contents of a pickle file into memory.

Parameters:
  • path (Union[str, Path]) – pickle file path.

  • mode (Optional[str]) – read mode. Default = “rb”

Returns:

Object, usually a dictionary contained in pickle file.

Return type:

obj (Dict[Any,Any])