dear boss see my code
it run with out error but streamlit did not show the plotly.express pie chart i give the value by variable please see my code and give me right solution
import pandas as pd
import streamlit as st
import plotly.express as px
You have some small errors in your code – px.pie is expecting 1 string for values, and one string for names, and the values one needs to be columns[2], not columns[0].