Create a scatter plot of GDP (gdp) vs. number of phones per 1000 people (phones).

动态 未结 0 105
小小草
小小草 LV1 2023年9月23日 23:40 发表
Here's the code to create a scatter plot of GDP (gdp) vs. number of phones per 1000 people (phones): ```python plt.scatter(df["phones"], df["gdp"]) plt.xlabel("Phones per 1000 People") plt.ylabel("GDP") plt.title("GDP vs. Phones per 1000 People") plt.show() ``` We use the `scatter` function from Matplotlib to create a scatter plot of `phones` on the x-axis and `gdp`
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复