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.5.tar.gz
(2.6 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.5.tar.gz.
File metadata
- Download URL: draxutils-0.1.5.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f7e2f1657072122e0d8dc30904767c8681efff09ab95ef8d1ab296c2a553002
|
|
| MD5 |
21622bc2af2c73ea1d5883f70419a40e
|
|
| BLAKE2b-256 |
8b3a9779474654aeb8c847ce908d6a10d5a97583bdd3f162229081eb908421b3
|
File details
Details for the file draxutils-0.1.5-py3-none-any.whl.
File metadata
- Download URL: draxutils-0.1.5-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d977e51bbac13c8d714181ded568763771966de2729dd78c0c13a6a2030ecdbf
|
|
| MD5 |
6c4300c2968c633a3db01efd416373f2
|
|
| BLAKE2b-256 |
8f50834d6cb70bbea5bc8a01082ab35e7ad2bb3de7699655a632fd652667fb69
|