0

41. Code project in Data Science

My code pass tests 1,2, 4 and 5 but it does not pass test 3. Input for tests from 3 to 5 are hidden. Any ideas?

20th Mar 2022, 1:58 PM
Mariano Spadaccini
2 Answers
0
See the syntax correctly
23rd Mar 2022, 10:43 AM
Ahmed Kazia
Ahmed Kazia - avatar
- 1
'if none of the data points were assigned to the given centroid, return None' So I returned new array or "None" but test 3 is still wrong
23rd Mar 2022, 2:16 PM
Mariano Spadaccini