10.14. copro.utils.save_to_npy

copro.utils.save_to_npy(arg, out_dir, fname)[source]

Saves an argument (either dictionary or dataframe) to npy-file.

Parameters
  • arg (dict or dataframe) – dictionary or dataframe to be saved.

  • out_dir (str) – path to output folder.

  • fname (str) – name of stored item.