Skip to content

Commit

Permalink
ch4ex14 fix SCT msg
Browse files Browse the repository at this point in the history
  • Loading branch information
richierocks committed Feb 19, 2019
1 parent f7c3bc9 commit d7a256a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter4.md
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ Ex().check_correct(

missing = "Have you used `np.corrcoef()` to calculate the correlation?"
incorrect1 = "To calculate `corr`, the first argument to `np.corrcoef()` should be the first column of `np_baseball`, similar to how did it before."
incorrect2 = "To calculate `corr`, the second argument to `np.corrcoef()` should be the second column of `np_baseball`. Instead of `[:,1]`, use `[:,2]` this time."
incorrect2 = "To calculate `corr`, the second argument to `np.corrcoef()` should be the second column of `np_baseball`. Instead of `[:,0]`, use `[:,1]` this time."
Ex().check_correct(
check_object("corr").has_equal_value(),
check_function("numpy.corrcoef", index=0, missing_msg=missing).multi(
Expand Down

0 comments on commit d7a256a

Please sign in to comment.