b = numpy.memmap('test.mymemmap', dtype='float32', mode='r+', shape=(2, 
    1000), offset=150000 * 1000 * 32 / 8)
b[1, 2] = 999999.0
Working with big data in python and numpy, not enough ram, how to save partial results on disc?