Numpy Example with HopsFS

Numpy - read/write CSV files with HopsFS (HDFS)

from hops import hdfs
from hops import numpy_helper as numpy
data = numpy.load("TourData/numpy/C_test.npy")

data.shape

numpy.save("Resources/project-relative-path.npy", data)
numpy.save(hdfs.project_path() + "/Resources/full-path.npy", data)