There are tons of samples from this error in which the problem is related with dimensions of the array or how a dataframe is read. However, I'm using just a python list for both X and Y.
I'm trying to split my code in train and test with train_test_split.
My code is this: enter image description here
And this teh error enter image description here
Please Help me for the solution
How to solve this error code for spliting my code in train and test with train_test_split?