Skip to main content

Display Dataframe with buttons

Project description

Dataframe with button

Streamlit component that allows you to display Dataframe with a button

Installation instructions

pip install dataframe_with_button

Usage instructions

import streamlit as st
import pandas as pd
from dataframe_with_button import custom_dataframe

df = pd.DataFrame({
    "BATCH_ID": ["item1", "item2", "item3"],
    "Name": ["Apple", "Banana", "Cherry"],
    "Price": [1.2, 0.8, 2.5],
})

# Invoke custom component
result = custom_dataframe(df, clickable_column="BATCH_ID")
st.write(f'Button {result} was clicked')

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

dataframe_with_buttons-0.0.1.tar.gz (690.9 kB view details)

Uploaded Source

Built Distribution

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

dataframe_with_buttons-0.0.1-py3-none-any.whl (697.2 kB view details)

Uploaded Python 3

File details

Details for the file dataframe_with_buttons-0.0.1.tar.gz.

File metadata

  • Download URL: dataframe_with_buttons-0.0.1.tar.gz
  • Upload date:
  • Size: 690.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for dataframe_with_buttons-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d7550f4290ec1531ac708f6b253abc5efdd10dc3bcc01b9c2183e54c0cf0a696
MD5 5b55a44e3f6b4937173a4f12c8cc36e6
BLAKE2b-256 7bdf7503ab96b5c7c75c70f1095035fbaa117e0864ebec6a881951ac9cc42903

See more details on using hashes here.

File details

Details for the file dataframe_with_buttons-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dataframe_with_buttons-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9cb4edd781a987fbc1ad244ee8157311959005898daad48aeb19e6cb4c0f75b8
MD5 de7891efcd58ee4dca90036a326740df
BLAKE2b-256 4b832daa835480509869916ccc1a564d992a8001a9dd7cc01ef6434f04e1fbd3

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