Here is my code:
fig = px.choropleth_mapbox(district_df[[\'District\',\'Confirmed\',\'Deaths\',\'id\',\'province\']], geojson = geo_df, locations=\'id\', colo