If the number of splits is greater than number of samples, you will get the first error.
If you divide the number of classes more than the number of samples, we will report this error.
Therefore, check whether the data is read correctly.
If the number of splits is greater than number of samples, you will get the first error.
If you divide the number of classes more than the number of samples, we will report this error.
Therefore, check whether the data is read correctly.