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.1.2.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for numpy_html-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d38eb1e1c79df4322bf85d959d9ae739b5c6aca1b7a220667edfb82f40fd825 |
|
MD5 | 900912633841a66302952f95ec6a4fa2 |
|
BLAKE2b-256 | 0989c2b5bb1303b3da08b2b304351ed3da0d815368e3e32dafaf89dcc67dfde8 |