Tried using KFold method for processing my data, but keep getting this error message, positional indexers are out-of-bounds.
Screenshot your code
I thought of this but how would he share it
Did u drop any observation during preprocessing? if so
reset index before u train...
This does work, thanks@Engineer
Copy the error message and search, I'm sure someone has had the same problem before