Skip to content

Commit

Permalink
Merge pull request datacamp#78 from datacamp/maintenance
Browse files Browse the repository at this point in the history
ch4ex14 fix SCT msg
  • Loading branch information
richierocks authored Feb 19, 2019
2 parents f7c3bc9 + d7a256a commit 02953f2
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 02953f2

Please sign in to comment.