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')

image

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.1.tar.gz (691.1 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.1-py3-none-any.whl (697.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dataframe_with_buttons-0.0.1.1.tar.gz
  • Upload date:
  • Size: 691.1 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.1.tar.gz
Algorithm Hash digest
SHA256 10fcbd5b0f15059e0a68cea69acc913b6005bb9a0a6198e844425dc6fbcf4f67
MD5 069f75c6e74a2d7a941445d9c9459202
BLAKE2b-256 c72e9ade07d26f94e7bd222672fa6649c5d40d17ae99e29af0426bb970e46a0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dataframe_with_buttons-0.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2e7e375b8abd9d0d23a1e8a4ba379e687358a384b7c28d47e75a157923156e0
MD5 184336347398a2192fcd87c00eb85812
BLAKE2b-256 1088153cb6838569732b0c92c2fb952142d1a196e3cb1b98faf26ffad994d60b

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