isds2020 icon indicating copy to clipboard operation
isds2020 copied to clipboard

#5.1.2 & 3.2.2: Close but not close enough

Open th92 opened this issue 5 years ago • 5 comments
trafficstars

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 avatar Aug 14 '20 08:08 th92

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))

th92 avatar Aug 14 '20 08:08 th92

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

jsr-p avatar Aug 14 '20 10:08 jsr-p

Hi,

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

johannablake avatar Aug 14 '20 10:08 johannablake

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

jsr-p avatar Aug 14 '20 11:08 jsr-p

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).

johannablake avatar Aug 14 '20 11:08 johannablake