codeforboston / home-energy-analysis-tool

https://www.codeforboston.org/projects/
MIT License
8 stars 25 forks source link

Re-evaluate NumPy dependency #118

Closed alanisaac closed 6 months ago

alanisaac commented 7 months ago

Dependencies in Python require the front end to download those equivalents in the browser for Pyodide. numpy and pydantic both add overhead, though numpy's is larger.

Currently, numpy is used only for the argmax function. Could we replace it with this? https://github.com/cjohnson318/til/blob/main/python/argmax-without-numpy.md