How to read a sample of a very big file using a Python code recipe

Marella
Marella Registered Posts: 2 ✭✭✭✭

Hi all,

I have a quite huge file (> 8 GB, on a VM with only 8 GM memory) that I would read within a DSS Python code recipe. Of course, the whole file will not fit in the memory. Could I instead only read a sample of the file, or is this impossible if the file in total is bigger than the memory of my VM?

Looking forward to your answer!
Marella

Answers

Setup Info
    Tags
      Help me…