I find pyrunner an extremely useful typst library. However, it has an important limitation: It cannot run third-party libraries. Package pyodide may lift this so constricting limitation (pyodide is a Python distribution for the browser and Node.js based on WebAssembly):
https://app.scribbler.live/?jsnb=github:gopi-suvanam/scribbler-examples/Python-in-Browser.jsnb
With pyodide one can run numpy, pandas, etc.
So, I would suggest to enhance pyrunner in that direction.