summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2018-09-08 18:23:29 +0530
committerGitHub <noreply@github.com>2018-09-08 18:23:29 +0530
commitafb7102bb6fec1dada0340f32cc6990fc2981747 (patch)
tree3b665acf2b26d37ee9ce5909bd8a8cdb31605b74
parent82122345d3eeb94e866894ef9f0f35a17c969f22 (diff)
parent3f02799903c104631ccf778dabb30ba8b116b7bc (diff)
Merge pull request #3109 from BenQuigley/patch-2
Removed semicolons
-rw-r--r--pythonstatcomp.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/pythonstatcomp.html.markdown b/pythonstatcomp.html.markdown
index 6dde1cf0..66eeb7ad 100644
--- a/pythonstatcomp.html.markdown
+++ b/pythonstatcomp.html.markdown
@@ -205,7 +205,7 @@ hre["DeathY"] = extractYear(hre.Death)
hre["EstAge"] = hre.DeathY.astype(int) - hre.BirthY.astype(int)
# simple scatterplot, no trend line, color represents dynasty
-sns.lmplot("BirthY", "EstAge", data=hre, hue="Dynasty", fit_reg=False);
+sns.lmplot("BirthY", "EstAge", data=hre, hue="Dynasty", fit_reg=False)
# use scipy to run a linear regression
from scipy import stats
@@ -222,7 +222,7 @@ rval**2 # 0.020363950027333586
pval # 0.34971812581498452
# use seaborn to make a scatterplot and plot the linear regression trend line
-sns.lmplot("BirthY", "EstAge", data=hre);
+sns.lmplot("BirthY", "EstAge", data=hre)
""" For more information on seaborn, see
- http://web.stanford.edu/~mwaskom/software/seaborn/