Cast label_field to integer dtype for float intput