I get the following error… I have a hard time understanding what is going on behind the hood because the test passes, on it gives me a dataframe when I run it locally…
Traceback (most recent call last):
File “/runner/executor.py”, line 206, in cli
ensure_dataframe(prediction, “prediction”)
File “/runner/executor.py”, line 90, in ensure_dataframe
raise ValueError(f"{name} must be a dataframe")
ValueError: prediction must be a dataframe
I should print more, but the error mean that the infer function didn’t returned a dataframe.
Maybe you forgot a return, or branched and forgot to return the dataframe, or even returned a series instead.
If you give me your Run ID, I could take a look to see if I can know more.
Same thing happened in my subsequent submission: #4826
I ran the exact same notebook used for the submission locally, and it does return a dataframe for moon 268, where the issue occurs. I suspect the issue is not on my side…