Thank you very much @cyyyyc123, this seems like a good solution. I would also like to know if this loads   all the data into memory, or just a reference, and only when we index it loads it into memory. Does anybody know?