From e773b7fa04eea1146db6f58cbec31bbcaa1bfc96 Mon Sep 17 00:00:00 2001 From: Stefan Krawczyk Date: Thu, 15 Dec 2022 11:22:03 -0800 Subject: [PATCH] Fix incorrect comment string Very minor. Numeric and categorial comments were swapped. --- hol/1_1_DEMO_basic_data_exploration_transformation.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hol/1_1_DEMO_basic_data_exploration_transformation.ipynb b/hol/1_1_DEMO_basic_data_exploration_transformation.ipynb index bd7859f..b1be351 100644 --- a/hol/1_1_DEMO_basic_data_exploration_transformation.ipynb +++ b/hol/1_1_DEMO_basic_data_exploration_transformation.ipynb @@ -1258,7 +1258,7 @@ } ], "source": [ - "# Get all categorical columns\n", + "# Get all numerical columns\n", "numeric_types = [T.DecimalType, T.LongType, T.DoubleType, T.FloatType, T.IntegerType]\n", "numeric_columns = [c.name for c in snowpark_df.schema.fields if type(c.datatype) in numeric_types]\n", "numeric_columns" @@ -1289,7 +1289,7 @@ } ], "source": [ - "# Get all numerical columns\n", + "# Get all categorical columns\n", "categorical_types = [T.StringType]\n", "categorical_columns = [c.name for c in snowpark_df.schema.fields if type(c.datatype) in categorical_types]\n", "categorical_columns"