From 10fe9c75624e28adbe9093f8f0512cca28be57c6 Mon Sep 17 00:00:00 2001 From: playphil <66652335+playphil@users.noreply.github.com> Date: Wed, 11 Nov 2020 11:01:08 -0800 Subject: [PATCH] logx=False plots data as User_Score is <=10 (#1265) logx=True doesn't seem appropriate since User_Score is <=10 the plot shows nothing Co-authored-by: Aaron Markham Co-authored-by: Ajay Karpur --- .../video_game_sales/video-game-sales-xgboost.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb b/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb index 68d9a62ee3..2546f9022c 100644 --- a/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb +++ b/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb @@ -147,7 +147,7 @@ "viz['User_Score'] = pd.Series(viz['User_Score'].apply(pd.to_numeric, errors='coerce'))\n", "viz['User_Score'] = viz['User_Score'].mask(np.isnan(viz[\"User_Score\"]), viz['Critic_Score'] / 10.0)\n", "viz.plot(kind='scatter', logx=True, logy=True, x='Critic_Score', y='Global_Sales')\n", - "viz.plot(kind='scatter', logx=True, logy=True, x='User_Score', y='Global_Sales')\n", + "viz.plot(kind='scatter', logx=False, logy=True, x='User_Score', y='Global_Sales')\n", "plt.show()" ] },