memory map npy files Jan 7, 2011 python numpy Mem-map the stored array, and then access the second row directly from disk: X = np.load('/tmp/123.npy', mmap_mode='r')