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
%load_ext 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-1.0.0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file numpy-html-1.0.0.tar.gz
.
File metadata
- Download URL: numpy-html-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.4 Linux/5.11.0-17-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38682ac8f5ffc8a47c7ab4b60563e541054b44f30b7b18b12b61bb878b0b67de |
|
MD5 | 348f9edd8de6bcfca48da30c999939ec |
|
BLAKE2b-256 | c465cab246909cc96be21c2a13ea262f1afb92e542e5d110d004d66b1aaae661 |
File details
Details for the file numpy_html-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: numpy_html-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.4 Linux/5.11.0-17-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8acd42ba7a9faf1aeee72ad44a8765b92ad826ce53961076ccb7dfdea9fbb916 |
|
MD5 | 0aa6cd8021ce98529722113142b6d245 |
|
BLAKE2b-256 | eb55a2fa74aa99d70ed6e519f8593b694e2df039af1411d1453bff4d7d8322a3 |