agoose77
numpy-html
Python

Render NumPy arrays as HTML tables

Last updated Jun 5, 2024
40
Stars
0
Forks
1
Issues
0
Stars/day
Attention Score
13
Language breakdown
Python 100.0%
Files click to expand
README

numpy-html

[![pypi-badge][]][pypi]

[pypi-badge]: https://img.shields.io/pypi/v/numpy-html [pypi]: https://pypi.org/project/numpy-html

A simple table renderer for numpy arrays. Provides a rich display hook for use with Jupyter Lab / Notebook. Inspired by xtensor.

Installation

pip install numpy-html

Example inside Jupyter

%loadext numpyhtml
import numpy as np

np.set_printoptions(threshold=5, edgeitems=2) np.arange(49).reshape(7, 7)

| 0 | 1 | ⋯ | 5 | 6 | |:--: |:--: |:-: |:--: |:--: | | 7 | 8 | ⋯ | 12 | 13 | | ⋮ | ⋮ | ⋱ | ⋮ | ⋮ | | 35 | 36 | ⋯ | 40 | 41 | | 42 | 43 | ⋯ | 47 | 48 |

🔗 More in this category

© 2026 GitRepoTrend · agoose77/numpy-html · Updated daily from GitHub