Unknown label type: (array([36., 15., 3., ..., 15., 25., 19.]),) code example Example: unknown label type: 'unknown' y=y.astype('int')