Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

draxutils-0.1.5-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for draxutils-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4f7e2f1657072122e0d8dc30904767c8681efff09ab95ef8d1ab296c2a553002
MD5 21622bc2af2c73ea1d5883f70419a40e
BLAKE2b-256 8b3a9779474654aeb8c847ce908d6a10d5a97583bdd3f162229081eb908421b3

See more details on using hashes here.

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

Hashes for draxutils-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d977e51bbac13c8d714181ded568763771966de2729dd78c0c13a6a2030ecdbf
MD5 6c4300c2968c633a3db01efd416373f2
BLAKE2b-256 8f50834d6cb70bbea5bc8a01082ab35e7ad2bb3de7699655a632fd652667fb69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page