Hey guys,
Dealing with a frustrating issue right now creating my databunch. I have a dataset where I have all continuous values. As such, my databunch is made via the following:
data = (TabularList.from_df(train, path = '', cat_names = cat_vars, cont_names = cont_vars, procs = procs)
.split_by_rand_pct()
.label_from_df(cols='Activity', label_cls = CategoryList)
.databunch())
Where cat_vars is an empty array. When I get to .label_from_df
I’m thrown a “Can only use .cat accessor with a ‘category’ dtype” error. Why is this happening?