From e439e4dd296bba9bd7c8f838e6b655de4076f52c Mon Sep 17 00:00:00 2001 From: Michael Willen Date: Sun, 29 Dec 2024 21:50:26 -0500 Subject: [PATCH] Removing extraneous parenthesis causing error in ex6.py --- learntools/sql/ex6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learntools/sql/ex6.py b/learntools/sql/ex6.py index 909e3e022..2cc1b110d 100644 --- a/learntools/sql/ex6.py +++ b/learntools/sql/ex6.py @@ -193,7 +193,7 @@ def check(self, query, results): # check 3: correct user IDs correct_ids = bigquery_experts_answer.loc[bigquery_experts_answer.user_id.notna(), "user_id"].unique() submitted_ids = results.loc[results.user_id.notna(), "user_id"].unique() - assert(np.array_equal(correct_ids, submitted_ids)), ), ('You seem to have the wrong values in the `user_id` column.') + assert (np.array_equal(correct_ids, submitted_ids)), ('You seem to have the wrong values in the `user_id` column.') # check 4: check one value from other column first_id = list(bigquery_experts_answer["user_id"])[0] correct_num = int(bigquery_experts_answer[bigquery_experts_answer["user_id"] == first_id]["number_of_answers"])