load_np

Contents

load_np#

load_np(path_to_load: str | CloudPath | Path, output: str | CloudPath | Path) ndarray[source]#

Load numpy pickles, with a handling of cloud-stored files.

Parameters:
  • path_to_load (AnyPathStrType) – Pickle path

  • output (AnyPathStrType) – Where to download the pickle if it’s stored on the cloud

Returns:

Numpy array

Return type:

np.ndarray