2 ms·
rich.inspect has been my go-to for this. Comes pre-installed in a vanilla Colab kernel too
by blueboo 2y ago
rich.inspect has been my go-to for this. Comes pre-installed in a vanilla Colab kernel too
- emmanueloga_ 2y agoRight! I usually use rich's print [1] for this kind of thing too, which I chose after testing a few other libraries that do pretty printing. -- 1: https://github.com/Textualize/rich?tab=readme-ov-file#rich-print https://github.com/Textualize/rich?tab=readme-ov-file#rich-p...