How to achieve Basic Bar Chart in streamlit

Hi Team,

I’m new to steamlit (My core skill set is Database & BI Tools),
I want to do a small poc (basic bar , line chart ) and how streamlit is working on.

I had tried to achieve a simple bar chart , using python code pandas & streamlit library. but my code has failed. below mentioned error.
df_aggr[“Total Sales”] = df_aggr[“Total Sales”].

StreamlitAPIException: (“Expected bytes, got a ‘float’ object”, ‘Conversion failed for column value with type object’)

Thanks,
Muni.