From 423fffc30e9e106f1c1c5bf94077051aab8ff7c0 Mon Sep 17 00:00:00 2001 From: LujunW Date: Sat, 22 Jul 2017 16:08:41 +0930 Subject: [PATCH] Fix deprecation warning 'pandas.tools.plotting.scatter_matrix' deprecated, using 'pandas.plotting.scatter_matrix' instead --- 02_end_to_end_machine_learning_project.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_end_to_end_machine_learning_project.ipynb b/02_end_to_end_machine_learning_project.ipynb index d6c133e..99b0627 100644 --- a/02_end_to_end_machine_learning_project.ipynb +++ b/02_end_to_end_machine_learning_project.ipynb @@ -505,7 +505,7 @@ "metadata": {}, "outputs": [], "source": [ - "from pandas.tools.plotting import scatter_matrix\n", + "from pandas.plotting import scatter_matrix\n", "\n", "attributes = [\"median_house_value\", \"median_income\", \"total_rooms\",\n", " \"housing_median_age\"]\n",