Open
Description
https://pypi.org/project/matrepr/
Benefits:
- output looks like a matrix, not a dataframe
- faster, especially on first run where the pandas import is slow
- small code
See it in action with python-graphblas:
https://nbviewer.org/github/alugowski/matrepr/blob/main/doc/demo-python-graphblas.ipynb
To try yourself, use matrepr's jupyter integration (causes Jupyter to use matrepr's formatter instead of the native one):
import matrepr.jupyter
For the Python REPL, a __repr__
monkey patch does the same:
import matrepr.patch.graphblas
Metadata
Metadata
Assignees
Labels
No labels