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.1.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file numpy-html-0.1.1.tar.gz
.
File metadata
- Download URL: numpy-html-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-32-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18202d3fe5ab8af74257e80b409edb786b0e10f96387913e6534826fba499e8d |
|
MD5 | 8d2f56e4ba22b55a49bee044320f778a |
|
BLAKE2b-256 | 78c49afb78fee5b4be84ef6c9abaded0f8dad1d3a8ac5e69eed43e96a04e84d4 |
File details
Details for the file numpy_html-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: numpy_html-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-32-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44f35dee85a208287d1eefc37528b2f3b4f2dec13f4446df4857ab628ff5c252 |
|
MD5 | c7fa87e5a50425ed496737fdac9cf256 |
|
BLAKE2b-256 | e19f07420b422f8e40e156447f97a34a36bbcd08fbedac16e43b628fb864aabc |