Open gaspardc-met opened 3 weeks ago
@gaspardc-met please repost this in python sdk repo https://github.com/mindsdb/mindsdb_python_sdk
@chandrevdw31 I think it is related to mindsdb-python-sdk
@gaspardc-met @chandrevdw31 This is not a bug.
As you can see in the method signature above, it supports data
input as either DataFrame
, Query
or dict
. The problem here is you are trying to pass a string that is not supported and the error you are getting is Unknown input
because the method is checking for input is either of DataFrame
, Query
or dict
, else it's raising the error:
else:
raise ValueError('Unknown input')
see line 118 to 222 at model predict method
@md-abid-hussain thank you, this was not supposed to be part of the list as it does not have a hacktoberfest label
Short description of current behavior
Per the docs,
model.predict
can use as input a dataframe or a query:However, I cannot reproduce this locally
Video or screenshots
Expected behavior
No response
How to reproduce the error
No response
Anything else?
No response