Tabular: Can only use .cat accessor with a 'category' dtype


It’s my own dataset and I’m pulling my hair out trying to figure out how to fix this issue. I’ve tried converting the column types to ‘category’ but to no avail.

@sgugger This looks like it might be a bug. Sorry for the ping, but I’d really appreciate some help.

How did you go about setting them as a category? Also why are you pip installing the dev version? (Are you wanting to use fastai2?)

Because I tried using fastai2, fastai and fastai dev. I used .astype() to convert the categories.