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

Notebook: https://github.com/BahMike/FastAI-Projects/blob/master/FPL.ipynb
Dataset: https://www.kaggle.com/bahaaeldin/fantasy-premier-league-stats-for-players

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.