(Jul-22-2020, 06:09 PM)Gribouillis Wrote: s = np.array([9.94223926e-01, 7.55188959e-01, 2.87075284e-04, 6.60265593e-01,
3.12176498e-02, 3.01580980e-01, 9.79960201e-01, 2.37826251e-01,
1.74042656e-01, 1.39546100e-02, 2.14055048e-01, 8.73880775e-01,
5.12656017e-01])
Correct me if I am wrong: this should give an issue as my array belongs to a large text file (10 GB, Nx4)? First question is how do I load my file and define in s? np.loadtxt is failing giving memory error, can we use h5py (or memmap) to load all the data to hard disk at once and sort based on column 2?