45. 為了觀察各遊戲平台的市場表現,分析師想要統計每個平台的全球銷售總額,並以長條圖呈現。請選出最能正確實現此分析的程式碼。
(A)data.groupby("Platform")["Global_Sales"].sum().plot(kind="bar");
(B)data.groupby("Platform")["Global_Sales"].count().plot(kind="bar");
(C)data["Platform"].value_counts().plot(kind="bar");
(D)data.groupby("Platform")["Global_Sales"].mean().plot(kind="bar")
答案:登入後查看
統計: A(1), B(1), C(0), D(0), E(0) #3773848
統計: A(1), B(1), C(0), D(0), E(0) #3773848