We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62fda47 commit 31e1dc4Copy full SHA for 31e1dc4
learntools/sql_advanced/ex1.py
@@ -79,7 +79,7 @@ def check(self, query):
79
"%d rows, but you have %d rows." % (len(correct_answer), len(results)))
80
# check 2: calculated values
81
# correct result
82
- correct_list = correct_answwer.loc[correct_answer["time_to_answer"].notna(), "time_to_answer"]
+ correct_list = correct_result.loc[correct_result["time_to_answer"].notna(), "time_to_answer"]
83
correct_number = correct_list.sum()/len(correct_list)
84
# submitted value
85
submitted_list = results.loc[results["time_to_answer"].notna(), "time_to_answer"]
0 commit comments