Explore Courses Blog Tutorials Interview Questions
0 votes
in Python by (120 points)

distances = np.zeros(points.shape[0])

for i in range(len(distances)):

    distances[i] = distances(p, points[i])

I keek receiving  

TypeError: 'numpy.ndarray' object is not callable

is there any way this can be resolved pls

Please log in or register to answer this question.

Related questions

0 votes
2 answers
0 votes
0 answers
asked Jun 24, 2021 in Python by priyanka (120 points)
0 votes
1 answer
0 votes
1 answer
asked Sep 26, 2019 in Python by Sammy (47.6k points)

Browse Categories