Can anyone please guide how to resolve this error.
Your code in get_best_split() did not handle the test case used by get_best_split_test() from the public_tests.py file.
You can read this test case by going to the Files menu and opening the public_tests.py file.