geting this error while executing the scoreon movie recomendatiom
IndexError Traceback (most recent call last) in 10 movies_id=df[df.title==title]["index"].values[0] 11 #print(movies_id) ---> 12 scores=list(enumerate(cosine_sim[movies_id]))
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
:
...
None
1.4m articles
1.4m replys
5 comments
57.0k users