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
报错解读:句末的customer_id, call_date两个字段数据类型不对;
解决方式:修改成int类型或删掉这个字段都可以。
网友评论