Python data manipulation library
Project description
Streamlit dataframe display
alternative to st.table
with configuration displaying Pandas DataFrame
Installation instructions
pip install st-df-table
Usage instructions
import pandas as pd
from st_df_table import st_table
data = {
"Column A": [1, 2, 3, 4, 5, 6],
"Column C": [True, False, True, False, True, False],
"Column B": ["A", "B", "C", "F", "G", "H"],
}
df = pd.DataFrame(data)
st_table(df)
st_table(
df,
head_align="left",
data_align="left",
head_bg_color="red",
head_color="blue",
head_font_weight="normal",
border_color="red",
border_width="3",
)
st_table(
df,
head_align="right",
data_align="right",
data_bg_color="green",
data_color="yellow",
data_font_weight="bold",
bordered=False,
sortable=False,
)
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
st_df_table-0.0.1.tar.gz
(309.1 kB
view details)
Built Distribution
st_df_table-0.0.1-py3-none-any.whl
(315.4 kB
view details)
File details
Details for the file st_df_table-0.0.1.tar.gz
.
File metadata
- Download URL: st_df_table-0.0.1.tar.gz
- Upload date:
- Size: 309.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d6e6d92025f8d3a37c6580cf4df9258bdec7ba3cd90808aab3f39c65f3a739 |
|
MD5 | b458fe069625f7f7bc7d3ac5b4618b4e |
|
BLAKE2b-256 | ada2278179be6a0b22db95e40ab3f0854e51080f337fb44518d7961ef4d48798 |
File details
Details for the file st_df_table-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: st_df_table-0.0.1-py3-none-any.whl
- Upload date:
- Size: 315.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d83cb02d542ce2f3dd8740aa70938c42465c562a027b87fc54be74445eb9e239 |
|
MD5 | e9725f30550d11475f182ec3cc19a776 |
|
BLAKE2b-256 | 6259a8f30e923bbc87d7c89fb0b05aa8f64401c36e9a901d0e41d37f8bd9cdbc |