Traceback (most recent call last): File "/Users/mhjensen/opt/anaconda3/lib/python3.8/site-packages/jupyter_cache/executors/utils.py", line 51, in single_nb_execution executenb( File "/Users/mhjensen/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 1087, in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() File "/Users/mhjensen/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 74, in wrapped return just_run(coro(*args, **kwargs)) File "/Users/mhjensen/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 53, in just_run return loop.run_until_complete(coro) File "/Users/mhjensen/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/Users/mhjensen/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 540, in async_execute await self.async_execute_cell( File "/Users/mhjensen/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 832, in async_execute_cell self._check_raise_for_error(cell, exec_reply) File "/Users/mhjensen/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 740, in _check_raise_for_error raise CellExecutionError.from_cell_and_msg(cell, exec_reply['content']) nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell: ------------------ # split in training and test data X_train, X_test, y_train, y_test = train_test_split(X,y,test_size=0.2) ------------------ --------------------------------------------------------------------------- ValueError Traceback (most recent call last)  in   1 # split in training and test data ----> 2 X_train, X_test, y_train, y_test = train_test_split(X,y,test_size=0.2)  ~/opt/anaconda3/lib/python3.8/site-packages/sklearn/model_selection/_split.py in train_test_split(*arrays, **options)  2125 raise TypeError("Invalid parameters passed: %s" % str(options))  2126  -> 2127 arrays = indexable(*arrays)  2128   2129 n_samples = _num_samples(arrays[0]) ~/opt/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py in indexable(*iterables)  290 """  291 result = [_make_indexable(X) for X in iterables] --> 292 check_consistent_length(*result)  293 return result  294  ~/opt/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py in check_consistent_length(*arrays)  253 uniques = np.unique(lengths)  254 if len(uniques) > 1: --> 255 raise ValueError("Found input variables with inconsistent numbers of"  256 " samples: %r" % [int(l) for l in lengths])  257  ValueError: Found input variables with inconsistent numbers of samples: [1000, 100] ValueError: Found input variables with inconsistent numbers of samples: [1000, 100]