Need help - Grader message for get_stats method

Week 4 - A/B Testing programming assignment - get_stats method.
All my tests are passing but when I submit my assignment for the get_stats method I get a 0 with the following message from the grader

Exception is: ufunc ‘isfinite’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’… Expected: Each tuple element must be a number, but got: At least one tuple element is not comparable to a number…

Has anybody else got this message?

I have not heard of this error before.

Sounds like your get_stats() function isn’t returning the correct data types.

Resolved, I was submitting the wrong file.

1 Like