Using bamboolib inside streamlit?

I’d like to use bamboolib to manipulate data in streamlit.

I can get as far as installing the library with ‘pip install bamboolib’ and then viewing the sample dataset by following the instructions.

However, unlike bamboolib, I don’t see a control (green button) that allows me to control any of the data. (see screenshot below)

Has anyone attempted to integrate Bamboolib with Streamlit?

My code:

import streamlit as st
import bamboolib as bam
import pandas as pd

st.set_page_config(page_title="Bamboolib", page_icon=None, layout="centered", initial_sidebar_state="auto", menu_items=None)
st.title("Bamboolib")

df = pd.read_csv(bam.titanic_csv)
df

bam.enable()

command:

streamlit run sample.py
1 Like