Hacker News new | ask | show | jobs
by IanOzsvald 1866 days ago
Years back I built IPython Memory Usage[0] which shows how much RAM and time was used per cell in Jupyter Notebooks (and originally the IPython shell). This is very useful for diagnosing why some Pandas and NumPy operations use a lot of RAM [1] which can also point at slow-downs, so you can compare different approaches to find more efficient solutions rather than randomly trying stuff until something no longer breaks.

0: https://github.com/ianozsvald/ipython_memory_usage

1: https://github.com/ianozsvald/ipython_memory_usage/blob/mast...