update error message for mojo_predict_df

Description

Add type check for mojo_predict_df `frame` parameter so that the error message clearly states that you have passed in the wrong dataframe type (for example if the user provides an H2OFrame instead of an R dataframe the error message says something like: got type H2OFrame but expected type data.frame).

same for the python api's mojo_predict_pandas.

Assignee

New H2O Bugs

Fix versions

Reporter

Lauren DiPerna

Support ticket URL

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

CustomerVisible

No

Components

Priority

Minor
Configure