With n_samples=1, test_size=None and train_size=0.8, the resulting train set will be empty. Adjust any of the aforementioned parameters.
图片不能上传,粘贴了一下
python调试三板斧 https://ask.csdn.net/questions/7908322/54130133