ValueError: DataFrame.dtypes for data must be int, float, bool or categorical. When
categorical type is supplied, DMatrix parameter
enable_categorical must be set to True.customer_id, call_date
報(bào)錯(cuò)解讀:句末的customer_id, call_date兩個(gè)字段數(shù)據(jù)類(lèi)型不對(duì);
解決方式:修改成int類(lèi)型或刪掉這個(gè)字段都可以。