The lab environment used is a Python notebook-based coding environment stored as an .ipynb file. An .ipynb file is a Python notebook file which contains the notebook code cells, markdown code cells, ...
With the first one, there is a memory issue because you must save the entire file into a buffer. With the second one, there is a time issue because a loop can be very slow in python. So, this package ...