Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Rectified .mean() to .median()
Since we were calculating the median, I found an error in the code and learnt GitHub from your YouTube channel and fixed this.
  • Loading branch information
yellomello authored Jun 1, 2021
commit e26539a7e4f2077dda8a120a92797ea24d0ca501
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
],
"source": [
"import math\n",
"median_test_score = math.floor(d['test_score(out of 10)'].mean())\n",
"median_test_score = math.floor(d['test_score(out of 10)'].median())\n",
"median_test_score"
]
},
Expand Down