pingwyn.open_all
- pingwyn.open_all(path, force_glob=False, enable_multicore=True, force_multicore=False, enable_cache=True, is_live_env=False)
Opens multiple data files.
- Parameters:
path (str or iterable) – Path or list of paths pointing to files to open. If path is a string, it can contain wildcards that will be expanded.
force_glob (bool, optional) – Forcefully glob “path”. This is used if an iterable is provided with wildcard characters, as these would not be expanded otherwise. By default False.
enable_multicore (bool, optional) – Enable multicore processing of data, speeding up the parsing process. By default True.
force_multicore (bool, optional) – Force multicore to take place, even if too little files need to be parsed. By default False.
enable_cache (bool, optional) – Specifies whether or not to write parsed data files and metadata to a cache directory. Enabling the cache speeds up loading the data after the inital parsing, as it does not need to be parsed again. By default True.
is_live_env (bool, optional) – Speficfies whether or not the data that is being loaded is part of an experiment which is currently ongoing. If True, the Driver will take into account any additional (meta)data parsing required for new data. This parameter is ignored if “enable_cache=False”. By default False.
- Returns:
A list holding pingwyn data types for each file.
- Return type:
list