Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion learntools/sql/ex6.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down