tfresource / tfresource-website

Travel Forecasting Resource - website reboot
https://tfresource.org
29 stars 54 forks source link

✍️ Update: Describe the new python interactivity module #405

Open gregmacfarlane opened 1 year ago

gregmacfarlane commented 1 year ago

What needs to be done?

We need to learn, explore, and document the new python interactivity implemented in #401. What packages can I install, and where do I install them? How much memory do we have for datasets, computations, etc. Can it output graphics?

Presumably this implementation is a pretty standard thing with its own documentation, can we just link to that?

Context

I would use this to make better and more interactive content, if I knew what it could do.

Issue Ready Checklist

strattonma commented 1 year ago

Overview

File I/O

Memory

Limitations

strattonma commented 1 year ago

A simpler alternative to loading data and code from webserver would be to put data and code on a tutorial page.

strattonma commented 1 year ago

@billyc , I ran into trouble trying to import packages with micropip. I'm loading micropip here. I then tried invoking micropip.install('omx') here, but I'm not sure this is the right location with the various await commands that are in use.

lmz commented 1 year ago

pandas now loads: image

billyc commented 1 year ago

Thanks @lmz !!!