load_pickle_gz
- load_pickle_gz(key, *subkeys, name, mode='rb', open_kwargs=None, pickle_load_kwargs=None)[source]
Open a gzipped pickle file with
pickle
.- Parameters:
key (
str
) – The module namesubkeys (
str
) – A sequence of additional strings to join. If none are given, returns the directory for this module.name (
str
) – The name of the file to openopen_kwargs (
Optional
[Mapping
[str
,Any
]]) – Additional keyword arguments passed togzip.open()
pickle_load_kwargs (
Optional
[Mapping
[str
,Any
]]) – Keyword arguments to pass through topickle.load()
.
- Return type:
- Returns:
Any object