saveAsNpy#

swordfish.function.saveAsNpy()#

Save a vector/matrix in DolphinDB as an npy file. It must be executed by a logged-in user.

Note

Null values in obj will be converted to negative infinity (-inf).

Parameters:
  • obj (Constant) – A numeric vector/matrix.

  • fileName (Constant) – Tthe path and name of the output file.