loadNpy#
- swordfish.function.loadNpy()#
Load an .npy (Python Numpy) binary file and convert it into a DolphinDB vector or matrix. NaN in the .npy file is converted into null values in DolphinDB.
Right now the function only works for .npy files with numerical data.
- Parameters:
filename (Constant) – A string indicating the path and name of an .npy file.