A simple table renderer for numpy arrays. Provides a rich display hook for use with Jupyter Lab / Notebook.
Project description
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
import numpy_html
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
numpy-html-0.0.4.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for numpy_html-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df11aba66eff50fe074cfa85ac94b85af9297ce5fb80ad380c61eb2b3a33742 |
|
MD5 | 8c12ddbe55652dab8a74a74062966bde |
|
BLAKE2b-256 | 8ffc79bc3736978a2f3015a71989bf5702bda26bba8b22bee75747f0ad639f75 |