根据数字状态计画

问题描述

我想根据州号来建立地图美国在数据中重复了多少次 我尝试做choropleth,但是我的问题我不知道该怎么写 这是我的代码

px.choropleth(df,locations = 'state',color='... what should i write ....',animation_frame='year',color_continuous_scale="Inferno",locationmode='USA-states',scope="usa",range_color=(0,633),title='....',height=600
         )

这是我的部分数据

enter image description here

df.head().to_dict()

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)