def from_shaped_array()

in src/main/python/nexusproto/serialization.py [0:0]


def from_shaped_array(shaped_array):
    memfile = StringIO()
    memfile.write(shaped_array.array_data)
    memfile.seek(0)
    data_array = numpy.load(memfile)
    memfile.close()

    return data_array