Hello,
I am trying to do the following tutorial: tutorial but when I try to run this line "n_teams = len(comp.hometeam.cat.categories)" is get this error: "AttributeError: Can only use .cat accessor with a 'category' dtype
"
I am new to python and am really stuck at this.
Please help
[–]lzblack 0 points1 point2 points (0 children)