+ 1

Test case verification of Data Science code project

I have written a python programme for Code Project (Data Science - Average of Rows) of data science course (lesson 8). Everything seems correct but 2 of test cases got fail. Anyone can explain why? Thanks in advance. https://code.sololearn.com/cT3aThaii5Ef/?ref=app

15th Aug 2022, 8:45 PM
Mehdi
Mehdi - avatar
2 Réponses
+ 3
According to the task description, we are supposed to round the result to the second decimal. Hint: Numpy arrays have a round method.
15th Aug 2022, 9:19 PM
Lisa
Lisa - avatar
0
Yes, you right. How didn't I notice that. Thank you so much Lisa. It solved.
15th Aug 2022, 9:28 PM
Mehdi
Mehdi - avatar