valueerror unknown label type 'unknown' code example Example: unknown label type: 'unknown' y=y.astype('int')