Utility functions for image handling
Project description
Credit to https://www.kaggle.com/code/stassl/displaying-inline-images-in-pandas-dataframe.
Usage example:
from datasets import load_dataset
# Load Fashion MNIST dataset
rows = load_dataset("zalando-datasets/fashion_mnist", split="test")
rows.set_format(type="pandas") # rows is a datasets.Dataset object from Hugging Face
df = rows[:]
from draxutils import show_pd
show_pd(df)
# if there is a column with multiple images, you can specify the column name
# show_pd(df, imglist_key='mycol')
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
draxutils-0.1.6.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file draxutils-0.1.6.tar.gz.
File metadata
- Download URL: draxutils-0.1.6.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b172f2aa73ad14921d78413d0f2717cabf2f28098d8709fd259aca452f9c6de
|
|
| MD5 |
ccde4c65e15b6beb04002844d0166db0
|
|
| BLAKE2b-256 |
84a02f7fc44ee1354d980ab5c680c8367dd0349be51a680e58b6b2db697f7d7a
|
File details
Details for the file draxutils-0.1.6-py3-none-any.whl.
File metadata
- Download URL: draxutils-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cea98c394cdc8e39ba446ef22ff6788fdbbba415008682d9e2fa12b7138ce26
|
|
| MD5 |
a5249e10daef76f2252fb12da014526e
|
|
| BLAKE2b-256 |
31653ab18e3e681b1a562e807884af0446310ac895068d834dc445878763c16b
|