C2_W4 Exercise 2 Question

Hi. I did the exercise 2 using numpy functions to find intersect of lists and arrays instead of looping through the arrays, and even though I got the right answers, the unit test failed. My question is: Isn’t it more effective using numpy functions when the arrays/lists to create the split are too big?

The grader only checks on your results, not how you got them. Any implementation that gives the correct results will pass the grader.

Apparently something about your method causes it to fail the tests the grader uses. These are different tests than those provided in the notebook.