Python Onehotencoder Object Has No Attribute Categories Stack

Python Onehotencoder Object Has No Attribute Categories Stack