data-8 / datascience

A Python library for introductory data science
https://www.data8.org/datascience/
BSD 3-Clause "New" or "Revised" License
626 stars 295 forks source link

Error Handling issue. #599

Closed Ankit-2409 closed 1 year ago

Ankit-2409 commented 1 year ago

Add error handling to check whether the input to the predicate methods is of the expected type. Raise informative exceptions if the input is incorrect

davidwagner commented 1 year ago

Can you give an example, to help me understand what checks you are hoping for? What is the 'expected type' and how would the code for a predicate know what that expected type is?