abjer / isds2020

Introduction to Social Data Science 2020 - a summer school course abjer.github.io/isds2020
58 stars 92 forks source link

#5.1.2 & 3.2.2: Close but not close enough #34

Open th92 opened 3 years ago

th92 commented 3 years ago

In this excersize my tmax_mean.sum() = 1016.206331, which means that the answer is incorrect (1017)... Is it possible that I need to apply a function where I add/remove decimals?

th92 commented 3 years ago

Also, 3.2.2: Draw a scatterplot of sepal length and petal length. Include a second order polynomial fitted to the data. Add a title to the plot and rename the axis labels to sepal length and sepal width. Are the variables of analysis: sepal length (x) and petal length (y) OR sepal length and sepal width? (btw my groupmembers and I can't see the image(s))

jsr-p commented 3 years ago

hi @th92 , it should round up to 1017 :) It should say "rename the axis labels to sepal length and petal length", sorry for that.

johannablake commented 3 years ago

Hi,

We have the same issue regarding 5.1.2. Ours round up to 1017.0 which then fails in the assert statement?

jsr-p commented 3 years ago

hi @Jrogvi , can you paste your code here in the comments :)?

johannablake commented 3 years ago

hi again,

we figured it out; the issue was that we also got dtype: float64 as output (apparently we used a list in a list).