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
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
dataframe_with_buttons-0.0.1.tar.gz
(690.9 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