-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
On an instance of the recommender, this student from Goliad ISD: carrera, elijah caused the runtime exception
Output:
File "/app/app/trigger.py", line 443, in trigger
recommendations()
File "/app/app/trigger.py", line 379, in recommendations
recommended = recommender(
File "/app/app/preprocessors/recommender.py", line 270, in final_recommendation
forecast_score, most_used_temp = reco_basis(
File "/app/app/preprocessors/recommender.py", line 182, in reco_basis
>>> forecast_score = np.round(forecast_score['predscore'].iloc[0], 2)
File "/usr/local/lib/python3.9/site-packages/pandas/core/indexing.py", line 1073, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "/usr/local/lib/python3.9/site-packages/pandas/core/indexing.py", line 1625, in _getitem_axis
self._validate_integer(key, axis)
File "/usr/local/lib/python3.9/site-packages/pandas/core/indexing.py", line 1557, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-boundsMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working