mindsdb / mindsdb

The platform for building AI from enterprise data
https://mindsdb.com
Other
26.56k stars 4.82k forks source link

[Bug]: IndexError: single positional indexer is out-of-bounds when training model #9489

Open thomasd3 opened 3 months ago

thomasd3 commented 3 months ago

Short description of current behavior

When training a model with the data below:

training.csv

I get the error:

IndexError: single positional indexer is out-of-bounds, raised at: /usr/local/lib/python3.10/site-packages/mindsdb/integrations/libs/ml_handler_process/learn_process.py#115

It is linked to the timestamp columns. If removed, the model trains properly.

Video or screenshots

No response

Expected behavior

No response

How to reproduce the error

No response

Anything else?

No response

MinuraPunchihewa commented 2 months ago

Hey @thomasd3, Could you please provide more information on the issue you are faced with? Firstly, it would be very useful to see the CREATE MODEL statement that you are running. Any other information you can provide on your environment, for instance, how you are running MindsDB would be helpful as well. CC: @paxcema